Kill database connections in SQL Server
Sometimes you may want to get rid of all the open connections to a database for many reasons. One of the reasons could be delete the database or detach the database in order to move it to another server. But you will not be able to do that if there are connections open with this...