sql rename coulmn code example
Example 1: how to rename columns in sql server
EXEC sp_rename 'Sales.SalesTerritory.TerritoryID', 'TerrID', 'COLUMN';
Example 2: change column name sql
ALTER TABLE `db_name`.`table_name`
CHANGE `current_column_name` `new_column_name` datatype(size) NOT NULL COMMENT '';