Examples: Database Procedures and Rules
The following examples of database procedures fired by rules are based on the Ingres demonstration database, demodb, used by the Ingres Frequent Flyer demonstration application. An example of an AFTER rule and a BEFORE rule are shown.
Note: The examples use the keyword TRIGGER, which is an alias for RULE.