Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Trick to update 2 tables in the same view?
On Thu, 25 Jan 2001 11:36:10 +0100, "Tony" <micronet_at_chello.nl> wrote:
>Is there a trick to update 2 tables in the same view ?
>
>Without triggering the
>"ORA-01779: cannot modify a column which maps to a non key-preserved table"
>
>Something in PL/SQL perhaps?
You need to use an INSTEAD OF trigger, where the trigger figures out the relevant DML and issues those statements. For examples, see:
John Received on Thu Jan 25 2001 - 16:32:57 CST