USoft Rule Language
For some users, the use of SQL when specifying constraints can prove to be difficult. To aid these users, an alternative syntax is available: USoft Rule Language. This goes some way towards simplifying the definition of constraints, without affecting the use of SQL for those users who prefer SQL. USoft Rule Language is only for use when defining constraints, that is, in the Table Constraints and to a lesser extent, Domain Constraints definition info windows of the Definer.
NOTE: USoft Rule Language cannot be used in place of SQL in Logical Views or USoft Batch constructs.
USoft Rule Language keywords
The main USoft Rule Language keywords are:
•FOR + Object Name Plural
•DO NOT ALLOW THAT (for conditional constraints, and optionally for corrective constraints)
•ADD WHERE NOT EXISTS (for corrective INSERT constraints)
•MAKE SURE THAT (for corrective UPDATE constraints)
•CONNECTED AS (equivalent to SQL’s “RELATE”)
•WHERE (equivalent to SQL's WHERE)
More details and examples of how these keywords are used are provided in the related topics, below.