Monday, November 15, 2010

SP to recycle SQL Server and Agent Error Log file

To limit the size of the SQL Server error log, the sp_cycle_errorlog system stored procedure can be issued to start a new error log. 

To recycle SQL Server Agent log you can execute sp_cycle_agent_errorlog system stored procedure.

No comments:

Post a Comment