Solved

Attached database shows no tables in Management Studio

Posted on 2011-02-15
2
252 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 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now