Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unique indexes with null columns
Yes it is possible . Let the colums be nulls allowed in the table definition
and then create the unique index as follows;
CREATE UNIQUE INDEX XYZ ON ABC
(
W ASC, E ASC, F ASC, G ASC, I ASC, K ASC, L ASC, M ASC, N ASC
Is it possible to create a unique index on 4 columns when 2 of the columns have some nulls?
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: cemail_at_sprintmail.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-LReceived on Tue Sep 26 2000 - 15:47:10 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at
![]() |
![]() |