init
This commit is contained in:
4
Common/DTS.Common.Storage/DetachDBs.bat
Normal file
4
Common/DTS.Common.Storage/DetachDBs.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
sqlcmd -E -S (localdb)\DataPROInstance -Q "ALTER DATABASE [%1] SET SINGLE_USER WITH ROLLBACK IMMEDIATE"
|
||||
sqlcmd -E -S (localdb)\DataPROInstance -Q "sp_Detach_db %1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user