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: How do I modify a check constraint?

RE: How do I modify a check constraint?

From: <ddorr.cs_at_clearstream.com>
Date: Fri, 8 Sep 2000 15:11:02 +0200
Message-Id: <10613.116502@fatcity.com>


If you look at the ALTER TABLE statement in the SQL reference guide, you can see that you can only modify a column constraint if it's the NOT NULL one. So you will have to drop/recreated as stated earlier by other posts.

> ----------
> From: Cherie_Machler_at_gelco.com[SMTP:Cherie_Machler_at_gelco.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Thursday, September 07, 2000 20:41
> To: Multiple recipients of list ORACLE-L
> Subject: How do I modify a check constraint?
>
> Can I modify an existing check constraint chk_status on column STATUS of
> table
> REP_BANK? I've been trying all the syntax variations that I can dream up
> to no
> avail. Is there a way to modify the constraint or do I need to drop it
> and
> recreate it?
>
> What is the correct syntax to do so?
>
> Thanks in advance for helping with this irritating task.
>
> Cherie
>
>
> --
> Author:
> INET: Cherie_Machler_at_gelco.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 Sep 08 2000 - 08:11:02 CDT

Original text of this message

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