Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Posts
    30

    Unanswered: How to Archive current sql server logs

    Hi Guru's,

    It takes me a long time to view in EM under Mangement/SQL Server Logs/current file. Is there a way I can shorten that file so it won't take so long to view the current file?

    Thanks in advance.

  2. #2
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,799
    Provided Answers: 11
    DBCC ERRORLOG will rotate the logs. I set up a job to rotate mine once per month.

  3. #3
    Join Date
    Dec 2002
    Posts
    1,245
    Quote Originally Posted by MCrowley
    DBCC ERRORLOG will rotate the logs. I set up a job to rotate mine once per month.
    sp_cycle_errorlog will achieve the same effect. You might also consider taking a look at sp_delete_ backuphistory.

    Regards,

    hmscott
    Have you hugged your backup today?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •