ORA-42004: redefinition not instantiated

文档解释

ORA-42004: redefinition not instantiated

Cause: An attempt was made to complete an instantiation-deferred redefinition without invoking dbms_redefinition.sync_interim_table.

Action: Invoke dbms_redefinition.sync_interm_table to instantiate this redefinition.

ORA-42004: redefinition not instantiated 错误表示不能重新定义某个对象。

官方解释

ORA-42004: redefinition not instantiated

Cause: An attempt was made to redefine an object that was already redefined, but it was not instantiated properly. The redefinition of an object was illegal.

Action: If the redefinition was illegal, check the necessary definitions, then redo the redefinition.

常见案例

ORA-42004可以在尝试重新定义一个对象时出现,例如:表,索引,过程,函数,触发器等等。

一般处理方法及步骤

1.首先检查重新定义的对象是否有效。

2.如果重新定义的对象无效,请更正它们,然后再次重新定义它们。

3.如果该对象已是有效的,请使用ALTER语句重新定义该对象。

4.如果仍出现该错误,请尝试重新定义数据库对象的特定属性。

你可能感兴趣的