Skip to Main Content

Oracle Database Discussions

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!

Modify Primary key ...

515444Oct 5 2006 — edited Oct 5 2006
Hi ....

I'd like modify one primary key from 1 field to 2 field... but When I tried use alter table drop primary key.. I got message saying "this unique/primary key is referenced by some foreign keys"

What Should I do ? Drop first foreign key that use this primary ? or are there some way to modify primary key and the foreing are modify automaticly ?

Thank you..
Fernando.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2006
Added on Oct 5 2006
1 comment
469 views