| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Triggers
Yes, you can. Most likely you will get a 'mutating table' error when you do
the insert in the same trigger as the update. To get around that, you defer
the insert into an 'after update' trigger. You will need a package in the
trigger to 'hide' the insert from Oracle.
--
Terry Dykstra [TeamPS]
Canadian Forest Oil Ltd.
GlennThames_at_my-dejanews.com wrote in message
<6l6nji$rgs$1_at_nnrp1.dejanews.com>...
>I am writing an update Trigger and need to insert a row into the same table
>that initiated the trigger. Can I do this in Oracle? If I can, How?
Thanks.
>
>-----== Posted via Deja News, The Leader in Internet Discussion ==-----
>http://www.dejanews.com/ Now offering spam-free web-based newsreading
Received on Thu Jun 04 1998 - 13:52:17 CDT
![]() |
![]() |