rename column sql
snippet in sql

change column names mssql

user6110

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

alter column name in sql

user1031

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

sql rename column

user8727

EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'

cmd to rename a collumn name in sql

user5258

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

rename column sql

user9718

ALTER TABLE nom_table
RENAME COLUMN colonne_ancien_nom TO colonne_nouveau_nom

modify column name in sql

user2937

ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);