• SQLBill (11/8/2006)


    If you are talking about the SQL Server Error logs...

    sp_cycle_errorlog

    will do the job. That closes out the current one and opens a new one. The closed out one is archived. Depending on your settings you can have several archived logs. I think the default is six. There's no auditing to tell if someone 'cleared' them or deleted old ones.

    -SQLBill

    Thanks also. My boss doesn't like rebooting the database, and I needed a way to cycle my ten-gig log out of the way. Thanks for this help.