Quantcast
Channel: How do you clear the SQL Server transaction log? - Stack Overflow
Viewing all articles
Browse latest Browse all 22

Answer by mrdenny for How do you clear the SQL Server transaction log?

$
0
0

This technique that John recommends is not recommended as there is no guarantee that the database will attach without the log file. Change the database from full to simple, force a checkpoint and wait a few minutes. The SQL Server will clear the log, which you can then shrink using DBCC SHRINKFILE.


Viewing all articles
Browse latest Browse all 22

Trending Articles