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 2000 Forums
 SQL Server Administration (2000)
 locking DB from specific groups

Author  Topic 

rottsko
Starting Member

3 Posts

Posted - 2007-09-28 : 14:40:27
Hey everybody,
I'm not a SQL guru or anything so I thought I'd give this forum a shot. We need to perform some updates on our production database during business hours and we need to restrict access to everyone in the organization except for myself and a couple of other people. What is the best way to do this? How? We are running SQL 2000. Thanks

rottsko

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-09-28 : 14:52:56
What access is used by the users? Do they have db_owner or sysadmin? If they don't, then you can simply put the database into RESTRICTED_USER mode.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

rottsko
Starting Member

3 Posts

Posted - 2007-09-28 : 15:17:31
sweet! thanks sql goddess...
Go to Top of Page

rottsko
Starting Member

3 Posts

Posted - 2007-10-03 : 14:07:09
quote:
Originally posted by tkizer

What access is used by the users? Do they have db_owner or sysadmin? If they don't, then you can simply put the database into RESTRICTED_USER mode.

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



Unfortunately, the users have dbowner access. What are my options now?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-10-03 : 14:20:14
Remove their access, change to restricted_user, do the work, change to multi_user, add their access.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -