In the Check Constraints view of the IBM Table Designer, you specify check constraints for the table. Check constraints are rules that specify the values that are allowed for every row in a table. Constraints are checked whenever data is inserted or updated.
Select a property to see its description in the box under the properties list. If the description exceeds the size of the box, hover the mouse pointer over the last line of text in the box. After a brief pause, the full description is shown in a ScreenTip.
CHECK (check-condition)
Additional information is available in your DB2 documentation. You can also find information in DB2 SQL documentation that is available through The SQL Reference for Cross-Platform Development Web page on developerWorks.
To use the Visual Studio Query Builder to create a constraint that is an SQL expression, right-click in this editor, and then select Query Builder on the shortcut menu. When you close the Query Builder, the SQL code in the Query Builder is automatically pasted in this editor at the insertion point.
IBM Table Designer | Developing IBM Database Tables | Managing Procedures, Functions, and Objects