• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3757
  • Last Modified:

Delete ErrorLog file in sql server

How can i delete the errorlog file in sql server 2005?

C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG

I am trying to delete the errorlog file becasue it's huge..

but it keep giving me an error: it's beging used......

  • 2
1 Solution
Guy Hengel [angelIII / a3]Billing EngineerCommented:
simply issue the following command to cycle the errorlog:

Guy Hengel [angelIII / a3]Billing EngineerCommented:
note: I have a job scheduled on my server to do this automatically every week/month.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now