Answers for "mysql rename a column in a table"

SQL
7

rename table in mysql

RENAME TABLE old_table TO new_table;
Posted by: Guest on May-04-2020
0

cmd to rename a collumn name in sql

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;
Posted by: Guest on June-21-2020
1

how to change column name in mysql

alter table product change price price_kg float;
Posted by: Guest on April-30-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 "mysql rename a column in a table"

Code answers related to "SQL"

Browse Popular Code Answers by Language