0

执行delete提交报错PLS-00306

问题归档 2019-05-08
1240

问题描述

SQL> delete from foo where a=1;

1 row deleted.

SQL> commit;
commit
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'SYNCRN'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

专家解答

根据官方文档这是一个bug,需要安装补丁解决

After Upgrade to 11.2.0.4 Unable to Delete Any Rows from Table with Context Index due to Error: "PLS-00306: wrong number or types of arguments in call to 'SYNCRN'" (文档 ID 1586704.1)

 

After database upgrade to 11.2.0.4 cannot delete any rows from a table with context index due to PLS-306 error:
 

SQL> delete from foo where a=1;

1 row deleted.

SQL> commit;
commit
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'SYNCRN'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

 

To resolve the problem apply Patch 17501296


「喜欢文章,快来给作者赞赏墨值吧」
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论