SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 truncate log
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

funketekun
Constraint Violating Yak Guru

Australia
491 Posts

Posted - 08/30/2007 :  14:51:19  Show Profile  Visit funketekun's Homepage  Reply with Quote
how do you truncate the .LDF file if it's in simple recovery model?

=============================
http://www.sqlserverstudy.com

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

USA
7020 Posts

Posted - 08/30/2007 :  18:11:35  Show Profile  Reply with Quote
dbcc shrinkfile


CODO ERGO SUM
Go to Top of Page

Westley
Posting Yak Master

229 Posts

Posted - 08/30/2007 :  22:25:31  Show Profile  Reply with Quote
or you can do the backup tran <dbname> with truncate_only if you only want to truncate the log not shrinking it
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000