you will need to find the rows in the table AWAY that do not have a
match for the column(s) in the R (foreign key) constraint. Either remoe
them or correct them and you can enable the constraint.
If you don't care about the old values but want the constraint to apply
to NEW rows, then "enable novalidate"
- Seema Singh <oracledbam_at_hotmail.com> wrote:
> Hi
> I found some of constraint in database is disable and its type is R.
> When I try to enable by
> alter table tablename enable constraint constraintname;
> It showing following error
> "ERROR at line 1:
> ORA-02298: cannot validate (AWAY.GT_TRACK_CAT_REF_SRCH_TRACK) -
> parent keys
> not found"
> How to coenable these constraints?
> Thanks
> -seema
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Seema Singh
> INET: oracledbam_at_hotmail.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
> Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (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).
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rachel Carmichael
INET: wisernet100_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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 Fri Jan 11 2002 - 12:00:02 CST