Creating domains (Sybase Central)

You can use Sybase Central to create a domain or assign it to a column.

To create a new domain (Sybase Central)
  1. Connect to the database as a user with DBA authority.

  2. In the left pane, right-click Domains and choose New » Domain.

  3. Follow the instructions in the Create Domain Wizard.

To assign a domain to a column (Sybase Central)
  1. Connect to the database as a user with DBA authority.

  2. In the left pane, double-click Tables.

  3. Click the table.

  4. In the right pane, click the Columns tab.

  5. Select a column and in the Data Type field click the ellipsis (three dots) button.

  6. Click the Data Type tab and select Domain.

  7. In the Domain list, select a domain.

  8. Click OK.