Drop Constraint
suggest changeALTER TABLE Employees
DROP CONSTRAINT DefaultSalary
This drops a constraint called DefaultSalary from the Employees table definition.
Note: Drop constraints that use a column before you drop that column. Naming a constraint in DROP CONSTRAINT is widely supported; some dialects also use DROP INDEX or DROP CONSTRAINT IF EXISTS.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents