sql modify dataype code example Example: modify column name in tsql sp_rename 'table_name.old_column', 'new_name', 'COLUMN';