aiaiDBA

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

13718043309

010-86462881

PLS-00704: 'string' must be declared as an exception

PLS-00704: 'string' must be declared as an exception
Cause: The exception_name parameter passed to an EXCEPTION_INIT pragma is misspelled or does not refer to a legally declared exception. Or, the pragma is misplaced; it must appear in the same declarative section, somewhere after the exception declaration.
Action: Check the spelling of the exception_name parameter. Then, check the exception declaration, making sure the exception name and the keyword EXCEPTION are spelled correctly. Also make sure the pragma appears in the same declarative section somewhere after the exception declaration.

请先 登录 后评论

1 个回答

小智
PLS-00704:' string '必须声明为异常,
.原因:传递给EXCEPTION_INIT编译指示的exception_name参数拼写错误,或不引用合法声明的异常。或者,这个拼写错误; 它必须出现在相同的声明部分,在异常声明之后的某个地方。,
.操作:检查exception_name参数的拼写。然后,检查异常声明,确保异常名称和关键字EXCEPTION拼写正确。还要确保在异常声明之后的某个地方在同一声明部分出现编译指示。,
.
请先 登录 后评论