bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL DROP DEFAULT Keyword

Concept visual

SQL DROP DEFAULT Keyword

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

DROP DEFAULT Keyword

Previous

❮ SQL Keywords

Next

Drop Default

The DROP DEFAULT

command is used to delete a DEFAULT constraint. To drop a DEFAULT constraint, use the following SQL:

Formula

SQL Server / Oracle / MS Access:

ALTER TABLE Persons

ALTER COLUMN City DROP DEFAULT;

MySQL:

ALTER TABLE Persons

ALTER City DROP DEFAULT;

Previous

❮ SQL Keywords

Next

Previous

SQL DROP DATABASE Keyword

Next

SQL DROP INDEX Keyword