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
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

23 Posts

Posted - 10/10/2013 :  07:14:04  Show Profile  Reply with Quote

I am bit struggling with this one

Can anyone help me with this issue

i just want a user to see only one view in specific database(he can have select option only on specific view) of all will be hide from user even systemdatabases ,logins ,another can i achieve this..even i dn't want him to see the names also..

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 10/10/2013 :  08:15:29  Show Profile  Reply with Quote
You have to DENY VIEW ANY DATABASE permission, and then grant select permission on the view on the specific database. It has been a while since I tried this, so the details are vague in my memory. There are some caveats - for example, if a user has dbo role in a database they will be able to see it etc. So please do some research and experimentation starting with this page:
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.05 seconds. Powered By: Snitz Forums 2000