Sybase 7.5 Water System User Manual


 
Defining check parameters
132
You define additional check parameters for data constraints where standard
check parameters are not sufficient.
v To define additional check parameters:
1 Click the Additional Checks tab in the property sheet of an attribute or
domain.
The Additional Checks page appears.
2 Type SQL expression using the variables %MINMAX%, %LISTVAL%,
and %RULES%.
3 Click OK.
Using a validation rule in check parameters
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:
Validation rule is attached to a class, attribute, or domain
Validation rule is defined as a server expression