how to change column name datatype in sql code example Example: modify column name in tsql sp_rename 'table_name.old_column', 'new_name', 'COLUMN';