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: Unique constraint over 2 columns (one of them nullable)

Re: Unique constraint over 2 columns (one of them nullable)

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 06 Dec 2007 15:30:01 -0800
Message-ID: <1196983797.513846@bubbleator.drizzle.com>


Bram Pouwelse wrote:
> Hi all,
>
> I wonder if it's possible to enforce uniqueness of a combination of 2
> columns where one of the 2 is nullable.

Isn't that what a unique constraint does by default?

-- 
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan_at_x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Thu Dec 06 2007 - 17:30:01 CST

Original text of this message

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