IMPDP fail with ORA-39083 ORA-04079 Errors during Trigger Creation (Doc ID 1535569.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Standard Edition - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

The following errors are reported while importing triggers:

Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
ORA-39083: Object type TRIGGER failed to create with error:
ORA-04079: invalid trigger specification
Failing sql is:
CREATE TRIGGER "UMMSMAINT"."BOX_BEFORE_INSERT"
BEFORE INSERT ON box FOR EACH ROW
   SELECT TO_CHAR(CURRENT_DATE, 'YYYYWW') INTO v_reference_date FROM DUAL;    :new.reference_id := CONCAT(v_reference_date, LPAD((MOD(:new.id, 10000)), 4, '0'));END;

ORA-39083: Object type TRIGGER failed to create with error:
ORA-04079: invalid trigger specification
Failing sql is:
CREATE TRIGGER "UMMSMAINT"."BATCH_BEFORE_INSERT"
BEFORE INSERT ON BATCH FOR EACH ROW
   SELECT TO_CHAR(CURRENT_DATE, 'YYYYMMDD-HH24MI-') INTO v_reference_date FROM DUAL;    :new.reference_id := CONCAT(v_reference_date, LPAD((MOD(:new.id, 1000)), 3, '0'));END;

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