sql server replace column names code example
Example 1: how to change the column name in sql
ALTER TABLE table_name
CHANGE COLUMN old_name TO new_name;
Example 2: sql alter column name sql server
EXEC sp_RENAME 'table_name.oldColumn_name' , 'newColumn_name', 'COLUMN'