Thank this author by sharing:
By mobasha B,
1- create the procedure
2- create a job to run it like every 2 horus.
3- create operator to send a mail to.
4- create alert to repond for error (@string,16,1)
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands
of articles and SQL scripts, a library of free eBooks, a weekly database news roundup,
a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals
that makes it such a success.