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) •REMOVE ALL •FOR WHICH •GROUPED BY More details and examples of how these keywords are used are provided in the related topics, below. See Also USoft Rule Language and Table Constraints USoft Rule Language and Object Name Plurals USoft Rule Language and Domain Constraints USoft Rule Language Examples: Simple Constraints USoft Rule Language Examples: Query Statements With Subquery USoft Rule Language Examples: Query Statements With Join USoft Rule Language Examples: Update Statements USoft Rule Language Examples: Delete Statements USoft Rule Language Examples: GROUPED BY Clause |