aiaiDBA

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

13718043309

010-86462881

ORA-22275: invalid LOB locator specified

ORA-22275: invalid LOB locator specified
Cause: There are several causes: (1) the LOB locator was never initialized; (2) the locator is for a BFILE and the routine expects a BLOB/CLOB/NCLOB locator; (3) the locator is for a BLOB/CLOB/NCLOB and the routine expects a BFILE locator; (4) trying to update the LOB in a trigger body -- LOBs in trigger bodies are read only; (5) the locator is for a BFILE/BLOB and the routine expects a CLOB/NCLOB locator; (6) the locator is for a CLOB/NCLOB and the routine expects a BFILE/BLOB locator;
Action: For (1), initialize the LOB locator by selecting into the locator variable or by setting the LOB locator to empty. For (2),(3), (5) and (6)pass the correct type of locator into the routine. For (4), remove the trigger body code that updates the LOB value.

请先 登录 后评论

1 个回答

小智
ORA-22275:指定的LOB定位符无效,
.原因:有几个原因:(1)LOB定位器从未初始化; (2)定位符用于BFILE,并且例程期望BLOB / CLOB / NCLOB定位符; (3)定位符用于BLOB / CLOB / NCLOB,并且例程期望BFILE定位符; (4)尝试更新触发器体中的LOB - 触发器体中的LOB是只读的; (5)定位符用于BFILE / BLOB,并且例程期望CLOB / NCLOB定位符; (6)定位符用于CLOB / NCLOB,并且例程期望BFILE / BLOB定位符;,
.操作:对于(1),通过选择定位器变量或将LOB定位器设置为空来初始化LOB定位器。对于(2),(3),(5)和(6)将正确类型的定位符传递给例程。对于(4),删除更新LOB值的触发器主体代码。,
.
请先 登录 后评论