how to change column name in sql
snippet in sql

change column names mssql

user5297

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

user7293

ALTER TABLE Student RENAME COLUMN NAME TO FIRST_NAME;

alter column name in sql

user7430

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

sql rename column

user1452

EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'

cmd to rename a collumn name in sql

user1846

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

how to change column name in sql

user6221

ALTER TABLE Student RENAME COLUMN NAME TO FIRST_NAME;
ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);