- Use the MS SQL Server Management Studio
EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'TRUE'CHECKPOINTDBCC SHRINKFILE ('XXX_Log', TRUNCATEONLY)EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'FALSE'GO
- (replace XXX with the database name)
About
- Use the MS SQL Server Management Studio
EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'TRUE'CHECKPOINTDBCC SHRINKFILE ('XXX_Log', TRUNCATEONLY)EXEC sp_dboption 'XXX', 'trunc. log on chkpt.', 'FALSE'GO
- (replace XXX with the database name)