how to rename a column on a SQL table and retain the data code example
Example 1: sql rename column
EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'
Example 2: sql rename column
ALTER TABLE my_table RENAME COLUMN col_name TO new_col_name;