sql alter column name sql server
snippet in sql

change column names mssql

user2549

--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';

sql alter column name sql server

user4209

EXEC sp_RENAME 'table_name.oldColumn_name' , 'newColumn_name', 'COLUMN'