Subject Re: [firebird-support] Trigger variables
Author Nick Upson
In article <VA.0000275c.06461ebf@...>, Nick Upson wrote:
> In 1.5 is there a variable inside a trigger that will tell me which type of
> operation is being done?
>
> I have one trigger for update and insert which have the same code except the
> update needs to do something else as well.

Ok I've found UPDATING, etc. If I understand correctly, in fb 1.5 dialect 1 I
can do:

if (UPDATING) then
do_extra;

--
Nick
-----We Solve your Computer Problems---
Founder & Listowner of the Prolifics User Group
Panther, Ingres, UNIX, Interbase, Firebird - Available Shortly