oracle-04063,PL/SQL:ORA-04063错误解决方法

end loop;

end;

/

returns following expected

Output

ERROR at line 3:

ORA-06550: line 3, column 15:

PL/SQL: ORA-04063: view "SCOTT.X_VIEW" has errors

ORA-06550: line 3, column 1:

PL/SQL: SQL Statement ignored

ORA-06550: line 2, column 8:

PLS-00341: declaration of cursor 'C_USER_OBJECTS' is incomplete or malformed

ORA-06550: line 4, column 16:

PL/SQL: Item ignored

ORA-06550: line 8, column 29:

PLS-00364: loop index variable 'R_USER_OBJECTS' use is invalid

ORA-06550: line 8, column 8:

PL/SQL: Statement ignored

Cause

This is expected behavior in all versions, since code need to be created on the remote READ ONLY Database, for

each time issued a new version need to be created, which cause the problem.

There is an Enhancement Request raised for this in

Bug 2033385 SELECT FROM A VIEW IN A READ-ONLY DB USING A DBLINK WITHIN A CURSOR LOOP FAILS

SolutionCreate the VIEW on local Database.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值