Re: Adding Ref. Integrity
From: Michael Nolan <nolan_at_helios.unl.edu>
Date: 1995/07/19
Message-ID: <3ujrqr$ai3_at_crcnis3.unl.edu>#1/1
Date: 1995/07/19
Message-ID: <3ujrqr$ai3_at_crcnis3.unl.edu>#1/1
scthomp_at_ibm.net (Simon Thompson) writes:
>alter table CHILD
Have you tried checking the table using:
select * from child a where not exists (select 'x' from parent b
> add (constraint CP_NUMBER
> foreign key (C_NUMBER)
> references Parent (P_NUMBER);
This should display the problem rows in your child table. (problem child?)
--- Michael Nolan, Sysop for the DBMS RoundTable on GEnie nolan_at_tssi.com, dbms_at_genie.com, nolan_at_inetnebr.com (posted from nolan_at_helios.unl.edu)Received on Wed Jul 19 1995 - 00:00:00 CEST