Created
March 15, 2025 08:08
-
-
Save mirmostafa/33249990f67e82ba4bc2d8e9691d2fbb to your computer and use it in GitHub Desktop.
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
| Use DATABASENAME | |
| Alter Database DATABASENAME Set Recovery Simple | |
| DBCC SHRINKFILE ('YOUR_LOG_NAME_log', 1) | |
| Alter Database DATABASENAME Set Recovery Full |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment