Reputation: 19573
I have a database in single user mode and I am trying to drop it so I can re-run the creation scripts on it, but I'm being locked out from it.
Upvotes: 0
Views: 137
Reputation: 1358
From SQL Server Management Studio:
Upvotes: 0
Reputation: 2697
run sp_who, find the spid with the database name you require, kill the spid.
Upvotes: 1