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

Home -> Community -> Usenet -> c.d.o.server -> Re: Problem with unique constraint creation

Re: Problem with unique constraint creation

From: EP <ep_at_plusnet.pl>
Date: Fri, 12 Jul 2002 13:51:26 +0200
Message-ID: <agmfrs$jfv$1@news.tpi.pl>

> When you create a constraint that you wish to enable novalidate, it must
be
> *deferrable* (but can be set deferrable initially immediate which is the
> default).
>
> Change your statement to something like:
>
> alter table x add (constraint x_col_unique (col) deferrable enable
> novalidate);

OK but *deferrable* waits till the end of transaction, doesn't it ? Is it possible to create a unique constraint on the table with the duplicated rows ???

Regards
EP Received on Fri Jul 12 2002 - 06:51:26 CDT

Original text of this message

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