Deleting Columns From a Table with a Query in MS SQL

If we want to delete a column from a table with a query in MS SQL Server, we follow the path below.

ALTER TABLE {Table Name} DROP COLUMN {Column Name}

Example usage would be as follows..

ALTER TABLE [dbo].[Blogs] DROP COLUMN [Url]


You May Interest

What is the Maximum Number of Columns a Table in SQL Server ?

Getting Rows in a Table in Random Order in MS SQL

What is a Filestream in SQL Server ?

What is Resource Governor in SQL Server ?

How is Auditing Different From Change Data Capture in SQL Server?