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
 Attached DB is readonly

Author  Topic 

MangoSkin
Starting Member

22 Posts

Posted - 2010-06-11 : 20:41:10
SQL Server 2008 on Vista. I attach a database and it shows read only.
How can I solve it.

jeffw8713
Aged Yak Warrior

819 Posts

Posted - 2010-06-12 : 00:04:46
Alter the database to read write - for example:

ALTER DATABASE {your database} SET READ_WRITE;

If that doesn't work, check the mdf/ldf files and make sure they are not set to read only.
Go to Top of Page
   

- Advertisement -