aiaiDBA

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

13718043309

010-86462881

PCC-00137: Invalid use of SQL cursor host variable

PCC-00137: Invalid use of SQL cursor host variable
Cause: A SQL_CURSOR variable was used in an INTO or WHERE clause. SQL_CURSOR variables can be used only where ordinary cursor identifiers would be used or, in a PL/SQL block, where a cursor would normally be used.
Action: Remove the SQL cursor variable reference from the INTO clause or WHERE clause, or use a host variable of another type in the INTO or WHERE clause.

请先 登录 后评论

1 个回答

小智
PCC-00137:无效使用SQL游标主机变量,
.原因:在INTO或WHERE子句中使用SQL_CURSOR变量。SQL_CURSOR变量只能在普通游标标识符被使用的地方使用,或者在PL / SQL块中通常使用光标的地方。,
.操作:从INTO子句或WHERE子句中删除SQL游标变量引用,或在INTO或WHERE子句中使用其他类型的主变量。,
.
请先 登录 后评论