Dropping Constraint in SQL

Dropping Constraint in SQL
Rating: 5 - 1 Votes

Dropping Constraint in SQL

sqlWe have seen in previous tutorials how to add constraints like FOREIGN KEY and DEFAULT.  But in case, you no longer need them, then you can easily drop them using DROP CONSTRAINT statement.  The syntax for dropping a constraint is given below.