alter column datatype in sql
snippet in sql

sql add column

user6527

ALTER TABLE Customers
ADD Email varchar(255);

sql server alter column

user2164

ALTER TABLE table_name 
ALTER COLUMN column_name new_data_type(size);

sql alter column size

user8016

ALTER TABLE table_name
ALTER COLUMN column_name datatype;

alter table add column

user2814

ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;

alter datatype column sql server

user3956


ALTER TABLE table_name

ALTER COLUMN column_name datatype; 

alter column datatype in sql

user3514


ALTER TABLE table_name

MODIFY COLUMN column_name datatype;