sql server alter column
snippet in sql

sql add column

user2885

ALTER TABLE Customers
ADD Email varchar(255);

sql server alter column

user9572

ALTER TABLE table_name 
ALTER COLUMN column_name new_data_type(size);

sql change column types

user5929

ALTER TABLE table_name
ALTER COLUMN column_name datatype;

-- Example
ALTER TABLE product
ALTER COLUMN description VARCHAR(250);

sql alter column size

user3005

ALTER TABLE table_name
ALTER COLUMN column_name datatype;

sqlserver add column to table

user8100

ALTER TABLE dbo.doc_exa 
ADD column_b VARCHAR(20) NULL, 
	column_c INT NULL ;

modify column name in sql

user6161

ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);