Previous Topic: Creating a Referential ConstraintNext Topic: Modifying Referential Constraint Tuning Characteristics


Dropping a Referential Constraint

To drop an unlinked referential constraint, or a linked referential constraint, use the SQL DDL DROP CONSTRAINT statement.

Considerations

If you drop a clustered constraint, the location mode of the referencing table will change as follows:

Example

In the following example, the EMP_BENEFITS constraint is removed from the BENEFITS table:

drop constraint emp_benefits from benefits;