Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Check Constraint
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 PMReceived on Tue Mar 26 2002 - 15:54:14 CST
> 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).