Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log File Problem

Status
Not open for further replies.

riya

Programmer
Mar 1, 2001
12
0
0
IN
Hi all,

How to Delete the Log files Accumulated in the server thro' Query Analyzer(I mean TSQL Command)?

Thanx..
 
You can't normally delete the log file; you can shrink it through various means, but you should not delete it. Robert Bradley
teaser.jpg

 
You may also detach database, delete log file ant attach it again. John Fill
 
Which log files are you referrinf to - errorlog, transaction log or backup log? if the database log is too large or not getting deleted properly, after performing a full database backup you can run dump trans XXXXX with truncate.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top