PL/SQL procedure exception handler.

  • 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"?

  • 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