How to Drop a Column in SQL Server in SQL Server

Dropping a column in SQL Server involves using the ALTER TABLE .. DROP COLUMN command.

Drop one column:

alter table products
drop column description;

Drop multiple colums at the same time:

alter table products
drop column price, description;

Previous

Next

Ready for a modern SQL editor?