June 17, 2009 at 12:15 am
Hi All,
Please answer me for the following scenario(I am consfused with the actual output):
A procedure ("XYZ") does not have exception handler. What happens if that procedure ("XYZ") is called by another procedure ("ABC") and an exception occurs?
Will the exception handler in procedure "ABC" handle the exception occurred in procedure "XYZ" or will procedure "XYZ" exit without returning the control to procedure "ABC"?
June 18, 2009 at 7:08 am
If an exception happens during storedproc XYZ execution it will abend with an unhandled exception.
I would suggest to research exception propagation
_____________________________________
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy