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!

Updating PK on base table

frm40735Jan 26 2011 — edited Jan 26 2011
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0

hi, is it possible to update a primary key on a table with records in child tables with a function? or do i have to temporarily remove the foreign key constraints and update each table individually?

sort of like update x set x_id = 124 where x_id = 111 cascade child tables???

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2011
Added on Jan 26 2011
5 comments
103 views