Chapter 4 Building Conceptual Data Models
You can write an SQL statement using the following standard variables defined as standard check parameters and validation rules:
Variable | Description |
---|---|
%MINMAX%, | Minimum and maximum values defined in Values groupbox on Standard Checks page |
%LISTVAL% | Customized values defined in List Values groupbox on Standard Checks page |
%RULES% | Validation rule expression defined on Expression page of the Rules property sheet |
You define additional check parameters for data constraints where standard check parameters are not sufficient.
An entity in a data model for a clothing shop may contain check parameters defined for an entity attribute SIZE, which depend on the check parameters defined for another entity attribute COUNTRY, as clothing size for a skirt in France may be different from the same size in the United States.
In this case an expression is required to create a constraint which uses check parameters defined for both entity attributes.
To define additional check parameters for objects:
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |