Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: import from 8i to 9i /IMP-00003:ORA-02298
I tried importing data first then enabling constraints, same problem.
I have disabled(it is not enabled to begin with but reporting 'ENABLED' in
USER_CONSTRAINTS) one of those constraints and tried to enable it manually.
Same error.
And I have checked the data again. It is having parent keys.
Thanks,
Surendra
-----Original Message-----
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 2:29 PM
To: Multiple recipients of list ORACLE-L
Hi Kirti,
As I have mentioned, my data is clean. I could import this data into an
existing 8i database.
Do you still think that importing data in two passes would fix it?
Anything changed form 8i to 9i regarding iport process?
I tried catching the invalid data into excetions and did cross checking and
observed that
I have valid data. I mean to say I could not enable those failed constarints
manually as well.
Surprisingly my STATUS column in USER_CONSTARINTS tables reads 'ENABLED' for
those failed constarints also.
Am I missing something?
Thanks,
Surendra
-----Original Message-----
Sent: Tuesday, July 08, 2003 12:44 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
I don't think this is related to NLS stuff...
02298, 00000,"cannot validate (%s.%s) - parent keys not found"
// *Cause: an alter table validating constraint failed because the table has // orphaned child records. // *Action: Obvious
I suggest cleaning up target database (drop target tables, indexes, etc).
Re-Create all target tables (empty).
Do not enable constraints (disable them if already enabled).
Re-import with ignore=y, and then enable constraints.
Oracle imports tables in table_name order for the schema. Enabled RI
constraints can pose a
problem.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jul 08 2003 - 13:26:05 CDT
![]() |
![]() |