How to delete database, error 5030 database can't be locked

后端 未结 8 1386
自闭症患者
自闭症患者 2021-02-15 00:50

I am trying to delete an existing database in SQL Server 2005. My first attempt produced the following error:

5030: The database could not be exclusively

8条回答
  •  甜味超标
    2021-02-15 01:36

    Why would we make a deleted DB to multi user mode.

    ALTER DATABASE dbName SET MULTI_USER WITH ROLLBACK IMMEDIATE
    

提交回复
热议问题