MSSQL: Destroy all existing connections before restore 2019/03/262019/03/31 dinbror Uncategorized USE master; GO ALTER DATABASE YourDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE; ALTER DATABASE YourDB SET MULTI_USER; GO