Pages

Friday, July 25, 2008

SQL Server Errors

Error:
Cannot drop database “DataBaseName” because it is currently in use.

Solution:
Close SQL Server Management Studio completely. Open it again and connect as normal. Now you will be able to drop the database with
USE master
GO
DROP DATABASE (databaseName)
GO

1 comment: