I have a PK I want to change, but when I try and UPDATE the PK to the new value, I get an error "ORA-02292: integrity constraint (AMC****.SYS_C00215392) violated - child record
found."
When I try and ALTER the table to drop the PK so I can change it, I get the error "ORA-02273: this unique/primary key is referenced by some foreign keys."
What is the best way to update/change this PK since it is a FK in other tables?
It is the FK in only one other table, so I could ALTER that table to not depend on this PK field, then updade this PK, then put the FK back.... I was hoping there was a cleaner way to do it though.
Thanks!!
-Aaron
found."
When I try and ALTER the table to drop the PK so I can change it, I get the error "ORA-02273: this unique/primary key is referenced by some foreign keys."
What is the best way to update/change this PK since it is a FK in other tables?
It is the FK in only one other table, so I could ALTER that table to not depend on this PK field, then updade this PK, then put the FK back.... I was hoping there was a cleaner way to do it though.
Thanks!!
-Aaron