Created
November 11, 2014 16:13
-
-
Save socketbox/aae5342cc9e04d8be0cc to your computer and use it in GitHub Desktop.
Drop database in MS SQL Server 2008
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE master; | |
ALTER DATABASE [db_name] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; | |
DROP DATABASE [db_name]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment