Template items are inserted in a trigger or trigger template definition using a dot followed by the template item name. For example, the following script contains two template items InsertChildParentExist and InsertTooManyChildren:
/* Before insert trigger "%TRIGGER%" for table "[%QUALIFIER%]%TABLE%" */ create trigger %TRIGGER% before insert order %ORDER% on [%QUALIFIER%]%TABLE% referencing new as new_ins for each row begin declare user_defined_exception exception for SQLSTATE '99999'; declare found integer; .InsertChildParentExist .InsertTooManyChildren end /