MariaDB Tutorial MariaDB Advanced MariaDB Database Account Management MariaDB References

MariaDB DROP DEFAULT Keyword



The MariaDB DROP DEFAULT keyword is used to delete a DEFAULT CONSTRAINT.

DROP DEFAULT constraint

To drop DEFAULT constraint from City column of Employee table, the query is given below:

ALTER TABLE Employee
ALTER City DROP DEFAULT;

❮ MariaDB Keywords

5