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: <marmstrong_at_fairpoint.com>
Date: Fri, 11 Jan 2002 10:13:31 -0800
Message-ID: <F001.003EE014.20020111094021@fatcity.com>

If the db is Oracle 8, you could use the alter table tablename enforce constraint constraintname. This command will enforce the constraint for all new data inserted and will not check data currently in the table. But I would still want to identify the rows violating the constraint and deal with them. You could have a bad app running out there.

Michele

-----Original Message-----

Sent: Friday, January 11, 2002 10:10 AM
To: Multiple recipients of list 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: marmstrong_at_fairpoint.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:13:31 CST

Original text of this message

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