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 -> Re: modify primary key

Re: modify primary key

From: purush <pursottam.tiwari_at_gmail.com>
Date: 7 Nov 2006 03:31:57 -0800
Message-ID: <1162899117.883521.319300@h48g2000cwc.googlegroups.com>

Prasath wrote:
> How do I add a existing column to a composite key in an index organized
> table on Oracle 9i?
>
> create table mytable (
> mycol1 number,
> mycol2 number.
> mycol3 number
> constraint myconstraint primary key(mycol1, mycol2)
> ) organization index;
>
> now i need to add mycol3 to the primary key.
Received on Tue Nov 07 2006 - 05:31:57 CST

Original text of this message

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