aiaiDBA

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

13718043309

010-86462881

SQL-02138: No external procedure context exists

SQL-02138: No external procedure context exists
Cause: The external procedure context passed in the EXEC SQL REGISTER CONNECT statement is not valid.
Action: Ensure that you have done the following:
1. Created the PL/SQL procedure/function with a CONTEXT parameter.

2. Included OCIExtProcContext in the formal parameter list of the external procedure

3. Correctly passed the OCIExtProcContext to the EXEC SQL REGISTER CONNECT statement.

请先 登录 后评论

1 个回答

小智
SQL-02138:没有外部程序上下文存在,
.原因:在EXEC SQL REGISTER CONNECT语句中传递的外部过程上下文无效。,
.操作:确保您已完成以下操作:,
.1.使用CONTEXT参数创建PL / SQL过程/函数。,
.,
.2.在外部程序的形式参数列表中包含OCIExtProcContext,
.,
.3.正确地将OCIExtProcContext传递给EXEC SQL REGISTER CONNECT语句。,
.,
.
请先 登录 后评论