Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Update with Triggers
Hi all, I have a question about the Oracle's triggers. I wish to store in a
field called 'lastUpdate' the sysDate in which the specific row has been
modified. I wish to do that with triggers, but I have noticed that a command
like
[...]
IF UPDATING THEN
:new.lastUpdate := sysDate;
END IF;
doesn't work and it raises a trigger exception during update ... anyone has
tried something like this?
Received on Thu Oct 09 2003 - 16:31:53 CDT
![]() |
![]() |