SQL Server and MySQL Notes
Pages
Home
Contact Me
All Articles
Author Profile
Download Links
How to be DBA?
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment