ALTER DATABASE failed because a lock could not be placed on database

后端 未结 10 2265
感情败类
感情败类 2020-12-12 09:52

I need to restart a database because some processes are not working. My plan is to take it offline and back online again.

I am trying to do this in Sql Server Manage

10条回答
  •  既然无缘
    2020-12-12 10:12

    Killing the process ID worked nicely for me. When running "EXEC sp_who2" Command over a new query window... and filter the results for the "busy" database , Killing the processes with "KILL " command managed to do the trick. After that all worked again.

提交回复
热议问题