Dropping a Check Constraint

Drop a check constraint to remove an existing condition limiting data inserts.

Prerequisites 

Before you can drop a check constraint, be sure the data server on which you are dropping a check 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 check constraint.
  3. Expand the Check Constraints folder, and find the check constraint you want to drop.
  4. Right-click the check constraint, and choose Drop.
Related concepts
Check Constraints
Related tasks
Creating a Check Constraint
Editing a Check Constraint


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