t-sql script change column type code example Example: sql alter column size ALTER TABLE table_name ALTER COLUMN column_name datatype;