Last active
June 12, 2018 16:53
-
-
Save vaderj/814775d3506634c6153c0c44591ebcc3 to your computer and use it in GitHub Desktop.
Set database to offline / online so SQL can gain exclusive access #SQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alter database DEV13_Service_ManagedMetadata | |
set offline with rollback immediate | |
go | |
alter database DEV13_Service_ManagedMetadata | |
set online | |
go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment