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

Home -> Community -> Usenet -> c.d.o.misc -> Syntax for unique alter table statement

Syntax for unique alter table statement

From: GIMME <gimme_this_gimme_that_at_yahoo.com>
Date: 5 Nov 2004 11:27:26 -0800
Message-ID: <3f12b4fb.0411051127.7a36b91d@posting.google.com>


I've tried the following which doesn't to the trick ...

alter table branch add constraint branch_mj_uk check (branch is unique)

Note that I want to allow nulls but if an entry is not null it must be unique.

Thanks Received on Fri Nov 05 2004 - 13:27:26 CST

Original text of this message

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