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
 General SQL Server Forums
 New to SQL Server Programming
 How can i set database readonly

Author  Topic 

manhit45
Starting Member

3 Posts

Posted - 2009-12-27 : 20:34:10
I want to set my database is readonly or i want to lock my store procedure. How can i do that ????

Nageswar9
Aged Yak Warrior

600 Posts

Posted - 2009-12-27 : 23:47:22
Hi Try this

Go to the appropriate database, right click, PROPERTIES, go under OPTIONS, and you will see DATABASE READ-ONLY.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-12-27 : 23:53:45
You can also do it via the ALTER DATABASE command.

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

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -