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

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Database Role and Schema Question

Author  Topic 

rsn1966
Starting Member

9 Posts

Posted - 2010-06-10 : 14:14:32
I have a sql server 2008 database with two databases (Database A and Database B). I would like to add a user login and allow that user access to only one of those databases (Database A). That user should be able to have complete control of Database A but no access to any other databases on the server. My question is do I need to create a new database role or schema; or, is there a pre-defined role or schema that I could use to assign to this login?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-06-10 : 14:21:16
You can use db_owner for this. Add the user to that database role in DatabaseA.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -