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

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Usage » Ensuring Data Integrity

Altering and dropping CHECK constraints Next Page

Using domains


A domain is a user-defined data type that, together with other attributes, can restrict the range of acceptable values or provide defaults. A domain extends one of the built-in data types. The range of permissible values is usually restricted by a check constraint. In addition, a domain can specify a default value and may or may not allow NULLs.

You can define your own domains for a number of reasons.

For more information about domains, see SQL Data Types.


Creating domains (Sybase Central)
Creating domains (SQL)
Dropping domains