Previous
Left Arrow
Find and Recreate a Computed Column in SQL Server
Current Code Entry
Go Back To Code List
[SQL Server]

How to Force Drop a Busy SQL Server Database: SINGLE USER vs. OFFLINE

How to safely drop a SQL Server database when it is locked by active connections, using the SINGLE_USER and OFFLINE methods to resolve "database is currently in use" errors.