Chapter 4 Building Conceptual Data Models
A validation rule is a rule that validates data based on a corresponding business rule. A validation rule can be generated as a check parameter when the following conditions apply:
At generation, validation rule variables are instantiated with the following values:
| Variable | Value |
|---|---|
| %COLUMN% | Code of the column to which the business rule applies |
| %DOMAIN% | Code of the domain to which the business rule applies |
| %TABLE% | Code of the table to which the business rule applies |
| %MINMAX% | Minimum and maximum values for the entity attribute or domain |
| %LISTVAL% | List values for the entity attribute or domain |
| %RULES% | Server validation rules for the entity attribute or domain |
For more information on defining business rules, see section Defining a business rule in a CDM in chapter Using Business Rules in a CDM.
To use a validation rule in check parameters:
| Copyright (C) 2006. Sybase Inc. All rights reserved. |
| |