arel table rename column name 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;
EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'
ALTER TABLE my_table RENAME COLUMN col_name TO new_col_name;