Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Grant user access to a single Databse
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

33 Posts

Posted - 04/17/2013 :  05:16:01  Show Profile  Reply with Quote
Hi, i have a SQL 2012 server with multiple DBs.
I want to grant a Domain user access to query 1 single DB.
I have granted the user public access to the DB.
When he logs on to SQL management studio he can see all the DBs but has no access to them.
Is there a way to prevent him from seeing all the other DBs?
Is public role the right role if i only want him to be able to query? not delete, modify anything?

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 04/17/2013 :  08:58:00  Show Profile  Reply with Quote
See this thread in regards to preventing the user from seeing databases s/he does not have access to. (No good solutions suggested there)

If you want the user to be able to read the tables, add them to the db_datareader role.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000