Answers for "rename table column name in sql"

SQL
0

change name of colum in sql table

ALTER TABLE "table_name" RENAME COLUMN "column 1" TO "column 2";
Posted by: Guest on September-11-2020
1

rename column name sql server

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

alter table name sql

-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';
Posted by: Guest on July-11-2020
-2

modify column name in tsql

sp_rename 'table_name.old_column', 'new_name', 'COLUMN';
Posted by: Guest on May-08-2020

Code answers related to "rename table column name in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language