You can create and drop UNIQUE constraints for columns in Sybase Central.
Prérequis
You must be the owner of the table or have one of the following privileges:
Contexte et remarques
Spatial columns cannot be included in a UNIQUE constraint.
For a column, a UNIQUE constraint specifies that the values in the column must be unique. For a table, the UNIQUE constraint identifies one or more columns that identify unique rows in the table. No two rows in the table can have the same values in all the named column(s). A table can have more than one UNIQUE constraint.
In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.
In the left pane, double-click Tables.
Click the table you want to alter.
In the right pane, click the Constraints tab.
Right-click in the Constraints tab and click New » Unique Constraint.
Follow the instructions in the Create Unique Constraint Wizard.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |