Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> ORA-02298: How do I find rows that do not join ?
Hi,
I just got a
ORA-02298: cannot validate (schema.fk) - parent keys not found
error when I try to create a foreign key.
These orphaned records are common enough and usually easy to find and fix in DBs that come out of Access 97/Excel/whatever from questionable sources. What makes this one so difficult is that the table has nearly a million rows and the primary key of the parent table is made up out of 8 columns !
QUESTION: Does anyone out there know a technique to find the orphans in foreign key creations where the keys are multi-column and the rowcount is very large ?
Thanks,
Rock.
![]() |
![]() |