How to rename a table in MySQL

4 sec read

RENAME TABLE oldTable TO newTable;

Replace oldTable with the table’s name that you want to rename and newTable with the new table name.

Last Updated On March 23, 2018

Leave a Reply

avatar
  Subscribe  
Notify of