Answers for "column rename in mssql"

SQL
1

rename column name sql server

EXEC sp_RENAME 'table_name.old_name', 'new_name', 'COLUMN'
Posted by: Guest on May-14-2021
0

how to rename columns in sql server

EXEC sp_rename 'Sales.SalesTerritory.TerritoryID', 'TerrID', 'COLUMN';
Posted by: Guest on November-02-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language