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;
|
Copyright © 2014 CA.
All rights reserved.
|
|