Subject | Re: [firebird-support] triggers not working |
---|---|
Author | Ann W. Harrison |
Post date | 2005-02-16T22:40Z |
Thomas Steinmaurer wrote>
followed by constraints, then the action, then after triggers. The
cancel query will undo all the actions, including the triggered action.
The whole package, before action triggers, action, and after action
triggers and any other changes caused by the changes is atomic - it will
succeed or fail as a unit.
It's events that occur on commit.
Cheers,
Ann
>Errr, I think not. The a before action trigger fires before the action,
> A trigger will fire when you commit the transaction in which the DML
> statement was executed. No COMMIT = the trigger won't fire.
followed by constraints, then the action, then after triggers. The
cancel query will undo all the actions, including the triggered action.
The whole package, before action triggers, action, and after action
triggers and any other changes caused by the changes is atomic - it will
succeed or fail as a unit.
It's events that occur on commit.
Cheers,
Ann