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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: CONSTRAINT ENABLE?

Re: CONSTRAINT ENABLE?

From: <Jared.Still_at_radisys.com>
Date: Fri, 11 Jan 2002 09:32:17 -0800
Message-ID: <F001.003EDEB4.20020111090036@fatcity.com>

Use the 'exceptions into' clause to find the rows causing the problem.

Query the exception rows to determine which keys are missing in the parent table.

Then either delete those rows from the child table, or add rows to the parent table.

Jared

                                                                                       
                             
                    "Seema Singh"                                                      
                             
                    <oracledbam_at_ho       To:     Multiple recipients of list ORACLE-L 
<ORACLE-L_at_fatcity.com>        
                    tmail.com>           cc:                                           
                             
                    Sent by:             Subject:     CONSTRAINT ENABLE?               
                             
                    root_at_fatcity.c                                                     
                             
                    om                                                                 
                             
                                                                                       
                             
                                                                                       
                             
                    01/11/02 07:10                                                     
                             
                    AM                                                                 
                             
                    Please respond                                                     
                             
                    to ORACLE-L                                                        
                             
                                                                                       
                             
                                                                                       
                             




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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Jared.Still_at_radisys.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 - 11:32:17 CST

Original text of this message

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