Subject | Re: [firebird-support] Trigger. Before and after |
---|---|
Author | Martijn Tonies |
Post date | 2005-04-06T13:09:34Z |
> Just to assure me....In both, actually.
>
> In a trigger that is defined as BEFORE UPDATE can I use
>
> OLD.SomeValue<>NEW.SomeValue
>
>
> Or can I only use this in a trigger defined as AFTER UPDATE ?
But NEW.<column> = <new value> can only be used in a BEFORE
trigger.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com