database attached is read only

后端 未结 12 1160
借酒劲吻你
借酒劲吻你 2020-12-08 19:03

I used the following the script to attach a database. But the database created is read only.
What modifications should I make in the script to make it read-write. Pl

12条回答
  •  被撕碎了的回忆
    2020-12-08 19:42

    If SQL Server Service is running as Local System, than make sure that the folder containing databases should have FULL CONTROL PERMISSION for the Local System account.

    This worked for me.

提交回复
热议问题