Posts by Collection

sqlserverscripts

Get Out of SINGLE_USER Mode

less than 1 minute read

If you find yourself stuck in SINGLE_USER mode in a SQL Server database, do the following:

Kill all Sessions

less than 1 minute read

Script to close all sessions/connections to a specified database