alter table column name sql server code example
Example 1: sql add column
ALTER TABLE Customers
ADD Email varchar(255);
Example 2: add multiple columns to table sql
//Example
ALTER TABLE employees
ADD last_name VARCHAR(50),
first_name VARCHAR(40);
Example 3: add multiple columns to table sql
ALTER TABLE table_name
ADD column_1 column_definition,
column_2 column_definition,
...
column_n column_definition;
Example 4: modify column name in tsql
sp_rename 'table_name.old_column', 'new_name', 'COLUMN';