ORA-1442 Error During Online Redefinition - DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS (Doc ID 1116785.1)

Last updated on JULY 18, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.1 [Release 10.1 to 11.2]
Oracle Database - Enterprise Edition - Version 11.2.0.2 to 11.2.0.2 [Release 11.2]
Information in this document applies to any platform.
Reviewed for relevance on 24 April 2012


Symptoms

Execution of DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS fails with ORA-1442

EXAMPLE:

-- *
-- ERROR at line 1:
-- ORA-01442: column to be modified to NOT NULL is already NOT NULL
-- ORA-06512: at "SYS.DBMS_REDEFINITION", line 984
-- ORA-06512: at "SYS.DBMS_REDEFINITION", line 1727
-- ORA-06512: at line 4

This problem can also manifest as not all dependent objects being copied by DBMS_REDEFINITION.COPY_TABLE_DEPENDENTS (see case studies)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms