TSQL - Alter Table Add Multiple Columns SQL Server

Sometime we have to add multiple columns to the already existing table.  Instead of adding one column at a time we can add multiple columns in one statement.

Here is example how to Add Multiple Columns to already existing table.

USE TEST1
GO

--Create Table
CREATE TABLE dbo.MyTestTable( ID INT)
--Add Multiple columns in one statement
ALTER TABLE dbo.MYTestTable
ADD
Name VARCHAR(100) NOT NULL,
ADDRESS VARCHAR(100) NOT NULL,
AGE INT NOT NULL,
PhoneNumber VARCHAR(12)


Video Demo
How to Add Multiple Columns to SQL Server Table in Single SQL Statement