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)
 SQL READ only database

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-12-04 : 08:18:47
MAlcolm writes "I attached a database which was from another location. However once i attached it it was read only . I tried changing the petrmissions and the properties but still no luck ........... any ideas ?

Thanks for any help

Regards

Malcolm"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-12-04 : 08:20:07
EXECUTE sp_dboption 'DBName', 'read only', 'false'

See Books Online for more details on "sp_dboption". Also look at the "ALTER DATABASE" command.
Go to Top of Page
   

- Advertisement -