You can use Sybase Central to create a domain or assign it to a column.
Use the SQL Anywhere 12 plug-in to connect to the database as a user with DBA authority.
In the left pane, right-click Domains and choose New » Domain.
Follow the instructions in the Create Domain Wizard.
Use the SQL Anywhere 12 plug-in to connect to the database as a user with DBA authority.
In the left pane, double-click Tables.
Click the table.
In the right pane, click the Columns tab.
Select a column and in the Data Type field click the ellipsis (three dots) button.
Click the Data Type tab and select Domain.
In the Domain list, select a domain.
Click OK.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |