Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Attached database shows no tables in Management Studio

Posted on 2011-02-15
2
Medium Priority
?
270 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
2 Comments
 
LVL 13

Accepted Solution

by:
devlab2012 earned 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Integration Management Part 2
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

885 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