Introduction:
In this article I will explain how to write SQL Query to add new column to existing table in sql server and query to delete column from table in sql and query to modify column in existing table.
In this article I will explain how to write SQL Query to add new column to existing table in sql server and query to delete column from table in sql and query to modify column in existing table.
Description:
In
previous posts I explained many articles relating to SQL
Server. Now I will explain how to write query to add, remove or modify
column in existing table using SQL Server. During work with one application I
got requirement like add new column to existing table in SQL Server at that
time I realized that it’s better to write query to add new column instead of
open table structure and modify to add new column in SQL Server.
To add new column to existing table in SQL server the declaration of system
will be like this