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 following statement can be used:
ALTER TABLE Employee ALTER City DROP DEFAULT; OR ALTER TABLE Employee ALTER COLUMN City DROP DEFAULT;
❮ MariaDB Keywords