You can use the Constraint tab in the Table Column Editor to assign the default and validation constraints for a table column.
To assign default and validation constraints to a column
The Table Column Editor opens.
Specifies the validation rule to attach to the selected column. Select the validation rule that you want from the drop-down list. You can also use the drop-down list to open the Validation Rule Editor to view or modify an existing validation rule or create a new one. If the Use Inherited Constraint check box is selected this means that this property is inherited from the column's domain. If you do not want this property to be inherited, simply clear the check box and select a validation rule from the drop-down list.
Specifies the default value to attach to the selected column. Select the default value that you want from the drop-down list. You can also use the drop-down list to open the Default Value Editor to view or modify an existing default value or create a new one. If the Use Inherited Default Value check box is selected this means that this property is inherited from the column's domain. If you do not want this property to be inherited, simply clear the check box and select a default value from the drop-down list.
Specifies whether or not the constraint is enforced by the database manager
during insert, update, or delete operations.
Specifies whether or not you want to use the constraint or functional dependency for query optimization when appropriate.
The default and validation constraints are specified and the Table Column Editor closes.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |