Dropping a Unique Constraint

Drop a unique table constraint to remove an existing uniqueness requirement on non-null values in specified table columns.

Prerequisites 

Before you can drop a unique constraint, be sure the data server on which you are dropping a unique constraint for a table is running, and you created and established a connection to the data server.

  1. In the Databases folder in Enterprise Explorer, under the database connection profile, expand the navigation tree for the appropriate database and schema owner.
    Database Steps
    From an ASE connection profile
    1. Expand the Databases folder.
    2. Expand the tree for a database and then the tree for the appropriate schema owner.
    From a SQL Anywhere or Sybase IQ connection profile
    1. Expand the tree for a database.
    2. Expand the Schemas folder and then the tree for the appropriate schema owner.
  2. Expand the Tables folder and then expand the table that contains the unique constraint.
  3. Expand the Unique Constraints folder, and find the unique constraint you want to drop.
  4. Right-click the unique constraint, and choose Drop.
Related concepts
Unique Constraints
Related tasks
Creating a Unique Constraint
Editing a Unique Constraint


Created June 25, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com