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

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - SQL 的用法 » 创建数据库 » 确保数据完整性 » 使用域

 

创建域 (Sybase Central)

可以使用 Sybase Central 创建域,或将域指派到一列。

♦  创建新域 (Sybase Central)
  1. 以具有 DBA 特权的用户身份连接到数据库。

  2. 在左窗格中,右击 [] 并选择 [新建] » []。

  3. 请按照 [创建域向导] 中的说明进行操作。

♦  将域指派到列 (Sybase Central)
  1. 以具有 DBA 特权的用户身份连接到数据库。

  2. 在左窗格中,双击 []。

  3. 单击表。

  4. 在右窗格中,单击 [] 选项卡。

  5. 选择列,然后在 [数据类型] 字段中单击省略号(三个句点)按钮。

  6. 单击 [数据类型] 选项卡,然后选择 []。

  7. 在 [] 列表中,选择一个域。

  8. 单击 [确定]。