March 9, 2008 at 11:46 pm
Hello everyone, i want to truncate my database log file, but not want to drop all log,
as i want to drop let say previous last 3 months log . Plz tell me how can i do this by using
Queries in SQL Server 2005.
Plz reply me asap. Thanx in Advance.
March 10, 2008 at 5:33 am
Can't be done... it's all or nothing.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 10, 2008 at 5:45 am
I cannot find anything regarding selective truncation of the transaction log. Apparently its an all or nothing prospect that should happen automatically.
http://technet.microsoft.com/en-us/library/ms189085.aspx explains the truncation process.
Additionally there is a link http://technet.microsoft.com/en-us/library/ms345414.aspx about things that can cause a delay in this happening.
Is your reason for wanting to keep 3 months of transaction logs for log mining purposes?
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply