Be very careful before running this query!
IF EXISTS (
SELECT name
FROM sys.databases
WHERE name = N'YourDBName'
)
DROP DATABASE YourDBName
GO
Be very careful before running this query!
IF EXISTS (
SELECT name
FROM sys.databases
WHERE name = N'YourDBName'
)
DROP DATABASE YourDBName
GO
at 8:45 PM
Labels: SQL Server, SQL Server Tip
No comments:
Post a Comment