PRIMARY KEY
drops the table's PRIMARY KEY constraint.
UNIQUE
drops the UNIQUE constraint on the specified columns.
CONSTRAINT
drops the integrity constraint named constraint.
CASCADE
drops all other integrity constraints that depend on the dropped integrity constraint.
You cannot drop a unique or primary key that is part of a referential integrity constraint without also dropping the foreign key. You can drop the referenced key and the foreign key together by specifying the referenced key with the CASCADE option in the DROP clause.
Example I
The following statement drops the primary key of the DEPT table:
ALTER TABLE dept
DROP PRIMARY KEY CASCADE
If you know that the name of the PRIMARY KEY constraint is PK_DEPT, you could also drop it with the following statement:
ALTER TABLE dept
DROP CONSTRAINT pk_dept CASCADE
The CASCADE option drops any foreign keys that reference the primary key.
Example II
The following statement drops the unique key on the DNAME column of the DEPT table:
ALTER TABLE dept
DROP UNIQUE (dname)
Note that the DROP clause in this example omits the CASCADE option. Because of this omission, Oracle7 does not drop the unique key if any foreign key references it.