--The following example renames the column TerritoryID in the table Sales.SalesTerritory to TerrID in the AdventureWorks database.
EXEC sp_rename 'Sales.SalesTerritory.TerritoryID', 'TerrID', 'COLUMN';
EXEC sp_RENAME 'table_name.old_name', 'new name', 'COLUMN'
EXEC sp_RENAME 'table_name.old_name', 'new_name', 'COLUMN'