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.
Connect to the database as a user with DBA authority.
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 choose New » Unique Constraint.
Complete the instructions in the Create Unique Constraint Wizard.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |