Subject | Re: [ib-support] Recursive triggers |
---|---|
Author | Helen Borrie |
Post date | 2001-06-26T11:55:59Z |
At 10:45 AM 26-06-01 +0000, you wrote:
The After Update trigger fires after the **update** (no kidding?) - updating is finished by then. You can only affect the update values in a Before Update trigger. AI triggers are for doing external stuff - writing to other tables, firing events, etc.
-- HB
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>G'day all,It's not an issue.
> if an after update trigger happens to update the same table, the
>trigger will be fired again, but does this happen immediately after
>the update statement is executed, or after the initial trigger code
>completes?
The After Update trigger fires after the **update** (no kidding?) - updating is finished by then. You can only affect the update values in a Before Update trigger. AI triggers are for doing external stuff - writing to other tables, firing events, etc.
-- HB
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________