Subject | Re: [firebird-support] Trigger variables |
---|---|
Author | Helen Borrie |
Post date | 2005-02-15T20:53:19Z |
At 03:42 PM 15/02/2005 +0000, you wrote:
Also INSERTING and DELETING.
V. 1.5 Release notes. Full of surprises.
./hb
>In article <VA.0000275c.06461ebf@...>, Nick Upson wrote:Dialect 1? Interesting.
> > 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;
Also INSERTING and DELETING.
V. 1.5 Release notes. Full of surprises.
./hb