Business Rules Overview
Related article: Query Types for the Creation of Rule Templates
Rules can be parametrized with rule templates. Based on a selected query, the rule template that uses these parameters is instantiated by the In-Memory DB into several rule instances in which the parameters are filled. For run-time calculation, only the rule instances are used. The user can update the query-based rule at various points in the life cycle of a database model, such as after the result of the query has been modified or after changing the syntax of the rule template.
Imagine, for example, a rule that has to be defined for each of the twelve base-month elements in a time dimension. Using static rules, the user would have to write the same rule twelve times. But with rule templates, the user only writes one rule template, which the In-Memory DB uses to generate the twelve rule instances automatically. Also, if the rule syntax changes, the user only has to change the rule template; the change is then propagated to all rule instances.
Next step:Creation of Rule Templates
Check out the other important information on Rules
This article covers how and where the rule templates are created.
Management and Update of Rule Templates
This article explains how rule templates can be dynamically updated if the database structure changes.
Updated March 4, 2026