Exforsys

Online Training

Truncate log on checkpoint

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...


Go Back   Exforsys > Articles and Tutorials > SQL Server 2005 Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-06-2005, 04:31 AM
Junior Member
 
Join Date: Mar 2005
Posts: 1
asgar5292
Question Truncate log on checkpoint

Hello
I want to Truncate my Transcation log file , how to do it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-06-2005, 08:37 AM
Senior Member
 
Join Date: Jun 2004
Posts: 353
kalareddy is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:03 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.