标签:
1、错误描述
Compilation errors for FUNCTION SCOTT.ODD Error: PLS-00201: 必须声明标识符 ‘EVEN‘ Line: 4 Text: Result := not Even(Value); Error: PL/SQL: Statement ignored Line: 4 Text: Result := not Even(Value);
create or replace function Odd(Value in integer) return boolean is Result boolean; begin Result := not Even(Value); return (Result); end Odd;由于这个函数中需要调用Even函数,但是这个函数没有定义,所以会报错
3、解决办法
create or replace function Even(Value in integer) return boolean is Result boolean; begin Result := (Value mod 2 = 0); return (Result); end Even;新建Even函数
Error: PLS-00201: 必须声明标识符 'EVEN'
标签:
原文地址:http://blog.csdn.net/you23hai45/article/details/50302215