I have a stored procedure which must be constantly running. Occasionally, for a currently unknown reason, it stops. How can I make it automatically restart the SP if this happens? Google searches aren't helping much, as all the results are about restarting the server, instead of the stored procedure. Thanks for any help you can give.
It's a SQLCLR stored procedure, if that makes any difference.