Re: update trigger cannot get new updated column values
Originally posted by Turin
This is the trigger code:
CREATE OR REPLACE TRIGGER "PROF"."TRIG_UPDATE_EMERG"
BEFORE UPDATE ON "PROF"."EMERG"
REFERENCING OLD AS NEW NEW AS OLD FOR EACH ROW
BEGIN
...
Gee, this bold part realy deserves to be quoted in some other thread, named "How to confuse developers"
(http://www.dbasupport.com/forums/sho...threadid=39780)
Change that part into "REFERENCING OLD AS old NEW AS new" or remove it from your CREATE TRIGGER command and you'll get what you want.
Jurij Modic
ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?
Bookmarks