Created
October 2, 2016 08:37
-
-
Save saninb/e4576df821c51a4518a341e0b7574318 to your computer and use it in GitHub Desktop.
Truncate SQL Server log file
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 mydatabase SET RECOVERY SIMPLE | |
DBCC SHRINKFILE (mydatabase_Log, 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment