开始
CREATE OR REPLACE PROCEDURE test IS PROCEDURE inner_test IS BEGIN DBMS_OUTPUT.PUT_LINE('I am inner'); END; BEGIN inner_test; END test;
执行:
BEGIN test; END;
执行的结果:
anonymous block completed I am inner
结束