加入收藏 | 设为首页 | 会员中心 | 我要投稿 源码网 (https://www.900php.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

oracle – 如何解决:SQL错误:ORA-00604:在递归SQL级别1发生错

发布时间:2021-01-12 04:15:16 所属栏目:百科 来源:网络整理
导读:当我试图丢桌时,我得到了错误 SQL Error: ORA-00604: error occurred at recursive SQL level 2ORA-01422: exact fetch returns more than requested number of rows00604. 00000 - "error occurred at recursive SQL level %s"*Cause: An error occurred

当我试图丢桌时,我得到了错误

SQL Error: ORA-00604: error occurred at recursive SQL level 2
ORA-01422: exact fetch returns more than requested number of rows
00604. 00000 -  "error occurred at recursive SQL level %s"
*Cause:    An error occurred while processing a recursive SQL statement
           (a statement applying to internal dictionary tables).
*Action:   If the situation described in the next error on the stack
           can be corrected,do so; otherwise contact Oracle Support.

解决方法

一种可能的解释是为每个DROP TABLE语句触发的数据库触发器.要查找触发器,请查询_TRIGGERS字典视图:

select * from all_triggers
where trigger_type in ('AFTER EVENT','BEFORE EVENT')

禁用任何可疑触发器

alter trigger <trigger_name> disable;

并尝试重新运行DROP TABLE语句

(编辑:源码网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读