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.
Author |
Topic |
suarezst1984
Starting Member
16 Posts |
Posted - 2009-06-03 : 13:46:06
|
I have a sql machine. I am trying to switch from RAID 0 TO RAID 1. My question is: I would like to set up the database that I am running on the sql machine to read only (so people can see access it) but I would like to restrict the writing to it while I make the switch. Is this possible? Is there a good way to do this?Thanks |
|
shaunc
Starting Member
28 Posts |
Posted - 2009-06-03 : 15:34:25
|
Sure, you can toggle read-only mode on and off like this:ALTER DATABASE foo SET READ_ONLYALTER DATABASE foo SET READ_WRITE |
 |
|
ajay_uiet
Starting Member
9 Posts |
Posted - 2009-06-26 : 07:35:20
|
open EM --->database properties--->options--->Database Read_only---->True |
 |
|
|
|
|