add column to table microsoft sql code example
Example 1: sql add column
ALTER TABLE Customers
ADD Email varchar(255);
Example 2: sql how to add a column
ALTER TABLE table_name
ADD column_name datatype;
Example 3: modify column name in tsql
sp_rename 'table_name.old_column', 'new_name', 'COLUMN';