暂无图片

PLS-00372:In a procedure, RETURN statement cannot contain an expression

错误码

错误描述:In a procedure, RETURN statement cannot contain an expression
错误原因:In a procedure, a RETURN statement contains an expression, which is not allowed. In functions, a RETURN statement must contain an expression because its value is assigned to the function identifier. However, in procedures, a RETURN statement simply lets you exit before the normal end of the procedure is reached.
解决方法:Remove the expression from the RETURN statement, or redefine the procedure as a function.

向认证技术专家提问

向技术专家提问

相关搜索
查看更多》