USoft Rule Language

Previous Next

See Also

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 keyword USoft Rule Language keywords are:

 

· FOR (to identify the table, using the Object Name Plural)

 

· DO NOT ALLOW THAT (for conditional constraints, and optionally for corrective constraints)

 

· MAKE SURE THAT (for corrective 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.

 

Related Topics:

 

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

 

USoft Rule Language Examples: Statements Without Conditions

 

USoft Rule Language Examples: Variable Constraint Messages