ASA SQL User's Guide
Ensuring Data Integrity
Using domains
You can use Sybase Central to create a domain or assign it to a column.
To create a new domain (Sybase Central)
In the left pane, select the Domains folder.
Choose File
The Domain Creation wizard appears.
Follow the instructions in the wizard.
All domains appear in the Domains folder in Sybase Central.
To assign domains to columns (Sybase Central)
For the desired table, click the Columns tab in the right pane.
In the data type column for the desired column, either:
Select the domain from the dropdown list, or
Click the button next to the dropdown list and choose the domain on the property sheet.