2.1.2.2 Data Macros
The commands of a Data Macro are performed at the level of the data of the application. If a Data Macro encounters any error during runtime, including the ones raised by the RaiseError action (section 2.2.5.1.11), then the Macro will stop and rollback, as if no commands in the Macro had been performed.
There are two kinds of Data Macros. A Named Data Macro is a standalone database object with the name specified, and it is explicitly called through the RunDataMacro action (section 2.2.5.1.13). An Event Data Macro is embedded in a Table (section 2.1.1), and it is triggered once a specified data event occurs on the table.