This is a discussion on Truncate log on checkpoint within the SQL Server 2005 Tutorials forums, part of the Articles and Tutorials category; Hello I want to Truncate my Transcation log file , how to do it...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
You can reduce or truncate the log files using any of the following ways. A DBCC SHRINKDATABASE statement is executed. A DBCC SHRINKFILE statement referencing a log file is executed. An autoshrink operation occurs. In SQL Server 2000, a DBCC SHRINKDATABASE or DBCC SHRINKFILE operation attempts to shrink the physical log file to the requested size immediately. you can read more on this in Books online if you have SQL Server installed on your pc or try msdn. http://msdn.microsoft.com/library/de...r_da2_7vaf.asp Thanks, Last edited by kalareddy; 03-06-2005 at 08:40 AM. |