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