Answers for "column name rename"

SQL
8

sql rename column

EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'
Posted by: Guest on May-07-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 "SQL"

Browse Popular Code Answers by Language