Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to drop a column which is a part of primary key

SmileMay 7 2010 — edited May 7 2010
Hello

how to drop a column which is a part of primary key
create table emp1(eno number,idno number,ename varchar2(11))

alter table emp1 add constraint emp1_pk primary key(eno,idno)

insert into emp1 values(3,300,'emp3')
now how to use alter command to drop a column which is a part of primary key

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2010
Added on May 7 2010
13 comments
8,531 views