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: Check Constraint

Re: Check Constraint

From: Paul Heely <pheely_at_acm.org>
Date: Tue, 26 Mar 2002 13:54:14 -0800
Message-ID: <F001.00434343.20020326135414@fatcity.com>


You could always do a select to see which rows will violate the check. If you add a check like (X>5) then to see what rows would violate this do something like:
select *
from table
where X<=5;

--
Paul


----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
Sent: Tuesday, March 26, 2002 4:14 PM



> When a check constraint is added to a table, is there an option in Oracle
> that will display or list the rows
> in the table that violate the constraint ? TIA.
>
> Jay
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: JJ
> INET: jube_at_teknicaltd.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: Paul Heely INET: pheely_at_acm.org 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 Tue Mar 26 2002 - 15:54:14 CST

Original text of this message

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