开始
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
结束
本文转自健哥的数据花园博客园博客,原文链接:http://www.cnblogs.com/gaojian/archive/2012/11/23/2784678.html,如需转载请自行联系原作者