SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Verify Errorlog

By Vidhya Sagar,

Hi this is my first post on sql....
The below procedure will check the current errorlog(past one hour errorlog will be scanned)for the keyword "error" (you can include your own key word) ..
If you run the procedure it will look for keyword error in the past one hour... it will be use full for some critical server who needs to monitor it frequently..
Your suggestions are mostly welcomed.

Total article views: 717 | Views in the last 30 days: 3