Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Truncate log on checkpoint

This is a discussion on Truncate log on checkpoint within the SQL Server forums, part of the Database category; Hello I want to Truncate my Transcation log file , how to do it...

  1. #1
    asgar5292 is offline Junior Member Array
    Join Date
    Mar 2005
    Answers
    1

    Question Truncate log on checkpoint

    Hello
    I want to Truncate my Transcation log file , how to do it


  2. #2
    kalareddy Guest
    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.

Latest Article

Network Security Risk Assessment and Measurement

Read More...