Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> After Update Trigger

After Update Trigger

From: J Huntley Palmer <jh_at_dontspam.spam>
Date: Sun, 09 Apr 2006 22:35:58 -0400
Message-ID: <123jh4g47kd8gba@news.supernews.com>


Gents,

I am trying to update records in a table based on the values being put   in by update into another record in the same table. The fire-after-update trigger on the table will not allow this. How may I go about doing this?

update tblfoo set field1=foo,field2=bar where foo_id=1;

In the fire-after-trigger I want to update all records eg..

update tblfoo set field2=bar where foo_id <> 2 and field1=foo;

Thanks Received on Sun Apr 09 2006 - 21:35:58 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US