CREATE OR REPLACE PACKAGE BODY AAAAA AS PROCEDURE A IS BEGIN B; END; PROCEDURE B IS BEGIN dbms_output.put_line('In PROCEDURE B'); END ;END AAAAA; 1会报错:PLS-00313: 'B' not declared in this scope 原因: B不是Public的Procedure,如果A想调用B,那么B的定义必须放在A的前边。 PLS-00313: ...
会报错:PLS-00313: \'B\' not declared in this scope 原因: B不是Public的Procedure,如果A想调用B,那么B的定义必须放在A的前边。 PLS-00313: "string" not declared in this scopeCause: There is no declaration for the given identifier within the scope of reference. The identifier might be misspelle...
前置声明解决相互递归时的PLS-00313 碰到了一个互相递归的情况,在一个存储过程中,函数A需要调用B,同时函数B也需要调用A,此时发生了PLS-00313: XXXX not declared in this scope的错误。 原因很直接,在编译函数F_A时,发现F_B函数没有声明过,报错! 此时陷入了一个死循环,先放F_B函数,也会因为F_A函数未声明...
PLS-00313 'string' not declared in this scope Action Check the spelling and declaration of the identifier. Also confirm that the declaration is placed correctly in the block structure.© Oracle About Oracle Contact Us Products A-Z Terms of Use & Privacy Cookie 喜好设置 Ad Choices...