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 COLUMN

DROP COLUMN

The DROP COLUMN command is employed to remove a column from a pre-existing table.

The following SQL eliminates the “ContactName” column from the “Customers” table:

Example

ALTER TABLE Customers
DROP COLUMN ContactName;