Page 1 of 1

Renaming a Table

Posted: Fri Jul 23, 2004 2:19 pm
by AliasBDI
I need to rename a table in a MySQL db. Is there a query command to do so?

Posted: Fri Jul 23, 2004 2:27 pm
by feyd

Code: Select all

ALTER TABLE `table_you_want_to_rename` RENAME `new_name`

superb

Posted: Fri Jul 23, 2004 2:57 pm
by AliasBDI
thanks.