Previous Topic: Create ERwin-Generated Triggers As Model ObjectsNext Topic: Methods to Override Trigger Templates


Default Trigger Templates Example

A model contains the following relationship between the MOVIE and MOVIE_COPY tables: MOVIE_is_rented_as_MOVIE_COPY

During schema generation, the macros are expanded in the trigger template as follows:

Because macros are used in place of specific table and relationship names, the default RI trigger templates generate the correct CREATE TRIGGER SQL statements for all the tables in the database.