Drop all connections to a SQL Server database with T-SQL

0 Comments

If you want to drop all connections to a database by using T-SQL, connect Microsoft SQL Server Management Studio to the master database, open a new query editor window and execute the following T-SQL code: