Before binding a rule to a table column or user-defined datatype, consider the following:
When you bind a rule to a table column or user-defined datatype that already has a rule bound to it, the new rule takes effect and the old one is unbound.
Rules bound to columns take precedence over rules bound to user-defined datatypes.
Rules must be compatible with the datatype of the column.
Rules do not apply to data already in the database when they are created.
Rules do not override column definitions.
Make sure that any default value bound to a column or user-defined datatype is compatible with the rule. A default that conflicts with the rule is not inserted.
You cannot bind a rule to a text, image, or timestamp column.
Do not assign a value to a user-defined datatype variable that would be rejected by a rule bound to a column of the same datatype.