Tag Archives: kill all processes

SQL Server – Kill All Process in a Database

At times, there may be a chance, when we intentially, wanted to kill all active proccesses in a given database or Msg 3702, Level 16, State 3, Line 2 Cannot drop database “DataBaseName” because it is currently in use. Drop Database Failed Following Script will kill all currently running processes in a given databse. This generic [...]