aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PLS-00741: string must be specified on subprogram string's declaration and definition

PLS-00741: string must be specified on subprogram string's declaration and definition
Cause: A property was specified on a subprogram's declaration but not on its definition or vice-versa.
Action: Certain subprogram properties (e.g., RESULT_CACHE) must be specified as part of the subprogram declaration and definition. For example, if the property RESULT_CACHE is specified on a subprogram declared in a package specification, then it must also be specified on the subprogram's definition in the package body (and vice-versa).

请先 登录 后评论

1 个回答

小智
PLS-00741:字符串必须在子程序串的声明和定义上指定,
.原因:在子程序的声明中指定了属性,但不在其定义上指定属性,反之亦然。,
.操作:某些子程序属性(例如RESULT_CACHE)必须指定为子程序声明和定义的一部分。例如,如果在包规范中声明的子程序上指定了属性RESULT_CACHE,那么还必须在包体中的子程序的定义中指定属性(反之亦然)。,
.
请先 登录 后评论