文档解释 ORA-41701: conditions table with a rule class association cannot be truncated or dropped Cause: An attempt was
ORA-41701: conditions table with a rule class association cannot be truncated or dropped
Cause: An attempt was made to truncate or drop a conditions table when one or more rule classes are associated to it through the event structure.
Action: Drop the rule class before truncating or dropping the conditions table.
ORA-41701:条件表具有规则类别关联,无法被截断或删除。
将尝试截断名为ConditionTable的表时,将收到此错误:
sql> truncate table ConditionTable;
无法截断表:ORA-41701:条件表有一个规则类的关联
(1)通过查询视图ALL_RULE_SET_OBJECTS,找到条件表ConditionTable关联的规则集:
SQL> Select *
2 From all_rule_set_objects
3 Where object_type = ‘COND_TABLE’
4 And object_name = ‘ConditionTable’;
OBJECT_NAME RULE_SET_NAME —————————— —————————— conditionTable RuleSet1
(2)撤销ConditionTable和RuleSet1之间的关联:
SQL> execute dbms_rlmgr.unassociate_rule_set (‘ConditionTable’,’RuleSet1′);
(3)注销用户:
SQL> loGoff;
(4)重新登录,然后对ConditionTable表进行TRUNCATE操作。
SQL> truncate table ConditionTable;
表已截断。
--结束END--
本文标题: ORA-41701: conditions table with a rule class association cannot be truncated or dropped ORACLE 报错 故
本文链接: https://lsjlt.com/news/530520.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0