Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> ORA-02298: How do I find rows that do not join ?

ORA-02298: How do I find rows that do not join ?

From: rockcogar <rock_cogarNOroSPAM_at_my-deja.com.invalid>
Date: Tue, 08 Feb 2000 09:28:41 -0800
Message-ID: <2a9003b0.058ff07c@usw-ex0103-019.remarq.com>


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.

Received on Tue Feb 08 2000 - 11:28:41 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US