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.

Advertisements

Thanks for the comment, will get back to you soon... Jugal Shah

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s