I have a migration script in between 2 different schema database. The script does 3 things:
- Disable constraint
- Insert record from old schema to new schema
- Enable constraint
During enable constraint, it encouter ORA-02298 - Parent keys not found
: at the following 2 tables:
ALTER TABLE COUNTRY ENABLE CONSTRAINT COUNTRY_FK1;
ALTER TABLE EMPLOYEE ENABLE CONSTRAINT EMPLOYEE_FK7;
Anything went wrong in the table structure definition of these 2 tables?