mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
7 lines
126 B
Transact-SQL
7 lines
126 B
Transact-SQL
|
|
ALTER DATABASE AdventureWorks
|
|
SET SINGLE_USER --or RESTRICTED_USER
|
|
WITH ROLLBACK IMMEDIATE;
|
|
GO
|
|
DROP DATABASE AdventureWorks;
|