Subject | Re: [ib-support] assign same trigger to different tables |
---|---|
Author | Daniel Rail |
Post date | 2002-03-07T11:13:01Z |
At 07/03/2002 06:15 AM, you wrote:
the triggers for the different tables? As per documentation, you can only
use one table with CREATE TRIGGER.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)
>As triggers can now be separated in multiple parts, I can separate theHave you tried having that logic in a stored procedure and calling it from
>specific and common parts.
>
>What I would like to do (but do not know if it is possible) is to
>assign the 'common part trigger' to different tables.
>
>What I mean is something like
>
>CREATE TRIGGER TRIGNAME FOR TABLE1, TABLE2, TABLE3
>ACTIVE BEFORE INSERT POSITION 0
>...
the triggers for the different tables? As per documentation, you can only
use one table with CREATE TRIGGER.
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.accramed.ca)