Solved

Attached database shows no tables in Management Studio

Posted on 2011-02-15
2
264 Views
Last Modified: 2012-05-11
Colleagues of mine have taken a detached SQL Server 2005 database and attached it to SQL Server 2008 (R2?) server. Although they can run select statements against the tables they know are in the database, no tables are listed in the Management Studio tables treeview. Has anyone any idea how this could have happened?
0
Comment
Question by:stbdevelopment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
devlab2012 earned 125 total points
ID: 34898043


you need to give "view definition" permissions to user:


GRANT VIEW DEFINITION TO <user>

GRANT VIEW SERVER STATE TO <user>
0
 

Author Comment

by:stbdevelopment
ID: 34898073
Thank you. I will pass your comment onto my colleagues and update this question tomorrow.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question