Subject | Re: [firebird-support] Trigger Position |
---|---|
Author | Helen Borrie |
Post date | 2006-07-04T08:54:56Z |
At 05:27 PM 4/07/2006, you wrote:
"After" triggers.
./heLen
>Hi,It's simpler than you think. "Before" triggers always execute before
>
>Does trigger position counts for the whole table or for each trigger type?
>
>I mean which is right among these two:
>
>----
>CREATE TRIGGER BEDS1 ACTIVE
>BEFORE INSERT POSITION 0
>
>CREATE TRIGGER BEDS2 ACTIVE
>AFTER INSERT POSITION 0
>
>CREATE TRIGGER BEDS3 ACTIVE
>AFTER DELETE POSITION 0
>----
>
>or
>----
>CREATE TRIGGER BEDS1 ACTIVE
>BEFORE INSERT POSITION 0
>
>CREATE TRIGGER BEDS2 ACTIVE
>AFTER INSERT POSITION 1
>
>CREATE TRIGGER BEDS3 ACTIVE
>AFTER DELETE POSITION 2
>-----
"After" triggers.
./heLen