U kunt RETURN
. gebruikenexample@sqldat.com> set serveroutput on
example@sqldat.com> !cat test.sql
BEGIN
IF 1 = 1 THEN
DBMS_OUTPUT.PUT_LINE('ABOUT TO EXIT');
RETURN;
END IF;
DBMS_OUTPUT.PUT_LINE('DID NOT EXIT');
END;
example@sqldat.com> @test
8 /
ABOUT TO EXIT
PL/SQL procedure successfully completed.
example@sqldat.com>