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 -> Difference: Uniq. Constraint & Index ?

Difference: Uniq. Constraint & Index ?

From: klabu <nosuchuser_at_gmail_dot_com>
Date: Mon, 16 Oct 2006 19:58:31 -0400
Message-ID: <12j8757onmol8fc@corp.supernews.com>


alter table my_emp
  add constraint u_con unique (col_a) ;

create unique index u_index on my_emp (col_a);

What is the difference between Unique Constraint and Unique Index ? And under what circumstance(s) will their difference come into play ?

thanks Received on Mon Oct 16 2006 - 18:58:31 CDT

Original text of this message

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