Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

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

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

Constraint Violating Yak Guru

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?


Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

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

Go to Top of Page

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  
 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.46 seconds. Powered By: Snitz Forums 2000