Created
February 14, 2025 10:55
-
-
Save cemerson/ec72258f4729c8c390594637bb016750 to your computer and use it in GitHub Desktop.
sql-database-onlineoffline-readonly-queries.sql
This file contains 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 MyDB SET READ_WRITE; | |
ALTER DATABASE MyDB SET OFFLINE WITH ROLLBACK IMMEDIATE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment