1USE AdventureWorks2012;
2GO
3EXEC sp_rename 'Sales.SalesTerritory', 'SalesTerr';
4
1-- Oracle, MySQL 8+
2ALTER TABLE table_name RENAME COLUMN current_name TO new_name;
3-- MySQL < 8:
4ALTER TABLE table_name CHANGE current_name new_name datatype(length);
5-- SQL Server:
6EXEC SP_RENAME 'table_name.current_name' , 'new_name', 'COLUMN'