Here is one scenario i came across, - I have a SQL job which has around four SQL stored procedure - These are getting executed sequentially one after another - Now Case is : If any of the stored procedure fails or raise an exception, entire Job should get halt.
How I could do that ?
Make yourself a little procedure with something like this: