MS SQL Maestro online Help
|Prev||Return to chapter overview||Next|
A check constraint is the most generic constraint type. It allows you to specify that the value in a certain column must satisfy a Boolean (truth-value) expression.
Checks are created within Check Properties. In order to run the wizard you should either
Checks are edited within the Check Properties dialog window. In order to open the dialog you should either
You can change the name of the check using the Rename Check dialog. To open the dialog you should either
To drop the check:
and confirm dropping in the dialog window.
Here you can set and edit the check name.
This field contains an optional text describing the check.Condition
Specify an expression producing a Boolean result which new or updated rows must satisfy for an insert or update operation to succeed. Expressions evaluating to True or Unknown succeed. In case any row of an insert or update operation produce a FALSE result an error exception is raised and the insert or update does not alter the database.
Check Existing Data
Specifies whether the data in the table is or is not validated against a newly added or re-enabled CHECK constraint.
Not For Replication
If checked, the constraint is not enforced when replication agents perform insert, update, or delete operations.
If the option is selected, the check is disabled.