sql alter table change column name code example
Example 1: sql rename column
ALTER TABLE my_table RENAME COLUMN col_name TO new_col_name;
Example 2: modify column name in sql
ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);
Example 3: modify column name in tsql
sp_rename 'table_name.old_column', 'new_name', 'COLUMN';