sql rename column
snippet in sql

change column names mssql

user5423

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

how to rename a column name in sql

user2209

ALTER TABLE Student RENAME COLUMN NAME TO FIRST_NAME;

alter column name in sql

user3216

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

sql rename column

user335

EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'

cmd to rename a collumn name in sql

user1614

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

how to rename columns in sql server

user7140

EXEC sp_rename 'Sales.SalesTerritory.TerritoryID', 'TerrID', 'COLUMN';