0

我收到错误,因为 ORA-06550:第 21 行,第 0 列:PLS-00103:在预期以下情况之一时遇到符号“文件结尾”:开始函数杂注过程

在执行程序时,请找到下面的程序

declare
procedure p2;
procedure p3;
          procedure p1
                    is
                      begin
                           dbms_output.put_line('CAlling procedure P1');
                           p2;
                 end p1;
           procedure p2 is
                       begin
                            dbms_output.put_line('CAlling procedure P2');
                           p3;
                  end p2;
           procedure p3 is
                       begin
                            dbms_output.put_line('CAlling procedure P3');
                   end p3;

请帮我解决问题。

4

1 回答 1

2
declare
   procedure p2;
   procedure p3;
   procedure p1 is
   begin
      dbms_output.put_line('CAlling procedure P1');
      p2;
   end p1;
   procedure p2 is
   begin
      dbms_output.put_line('CAlling procedure P2');
      p3;
   end p2;
   procedure p3 is
   begin
      dbms_output.put_line('CAlling procedure P3');
   end p3;
begin
   p1;
end;                   
/
于 2013-03-21T12:41:12.057 回答