Answers for "change the columns name in a database"

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 change column name in sql

ALTER TABLE Student RENAME COLUMN NAME TO FIRST_NAME;
ALTER TABLE `Table Name` MODIFY COLUMN `Column Name` Datatype(Size);
Posted by: Guest on January-07-2021

Code answers related to "change the columns name in a database"

Code answers related to "SQL"

Browse Popular Code Answers by Language