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 an Online Rebuilding of Indexes in SQL Server ?

What are OFFLINE Datafiles with SQL Server ?

Finding Session Id in MS SQL User's Current Process

How to Optimize Stored Procedure in SQL Server ?

What is the Difference Between DB Mirroring and Log Shipping in S ...