Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

DROP DEFAULT

DROP DEFAULT

The DROP DEFAULT command is utilized to remove a DEFAULT constraint.

To eliminate a DEFAULT constraint, execute the following SQL:

SQL Server / Oracle / MS Access:

ALTER TABLE Persons
ALTER COLUMN City DROP DEFAULT

MySQL:

ALTER TABLE Persons
ALTER City DROP DEFAULT