init
This commit is contained in:
9
Common/DTS.Common.Storage/Detach_RemoteDB.sql
Normal file
9
Common/DTS.Common.Storage/Detach_RemoteDB.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
USE master
|
||||
GO
|
||||
ALTER DATABASE $(DBNAME)Pre20 SET SINGLE_USER WITH ROLLBACK IMMEDIATE
|
||||
GO
|
||||
sp_Detach_db $(DBNAME)Pre20, FALSE, TRUE
|
||||
GO
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user