Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 17 » SQL Anywhere Server - SQL Usage » Data integrity

Table and column constraints

The CREATE TABLE statement and ALTER TABLE statement allow you to specify table attributes that allow control over data accuracy and integrity.

Constraints allow you to place restrictions on the values that can appear in a column, or on the relationship between values in different columns. Constraints can be either table-wide constraints, or can apply to individual columns.