Skip to content

Instantly share code, notes, and snippets.

@perrytribolet
Created April 30, 2013 19:06
Show Gist options
  • Save perrytribolet/5491101 to your computer and use it in GitHub Desktop.
Save perrytribolet/5491101 to your computer and use it in GitHub Desktop.
Drop Database Script
USE [master]
GO
ALTER DATABASE [/*Database Name Goes Here*/] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
GO
DROP DATABASE [/*Database Name Goes Here*/];
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment