Answers for "alter the column name in sql"

SQL
8

sql rename column

EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'
Posted by: Guest on May-07-2020
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
-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 "alter the column name in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language