Answers for "sql query change table name"

SQL
2

alter table name sql

-- Microsoft SQL style
EXEC sp_rename 'TableOldName', 'TableNewName';
Posted by: Guest on July-11-2020
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 "sql query change table name"

Code answers related to "SQL"

Browse Popular Code Answers by Language