Good Day, Experts -
Is there a way for a .SQL file being run in SQL Plus to exit? Here is what I have to accomplish...
UPGRADE.SQL contains the following:
IF MyPKG.IsUpdateAllowed( ) = FALSE THEN
EXIT; -- I want to stop the remainder of the script from firing
.... the rest of my DML appears here in the script... I don't want this to fire if the previous PKG procedure returned FALSE.
Is there a way to do this?