How to kill all open connections on a database in MSSQL

This handy script will kill all open connections to a database. Handy if you need to take it offline and someone just won’t let it die.

 

 

Share on Facebook