Home
SQL / MySQL
Aggregate Functions
Backup Load
Command MySQL
Cursor
Data Type
Database
Date Time
Engine
Event
Flow Control
FullText Search
Function
Geometric
I18N
Insert Delete Update
Join
Key
Math
Procedure Function
Regular Expression
Select Clause
String
Table Index
Transaction
Trigger
User Permission
View
Where Clause
XML
Rename a table : RENAME « Command MySQL « SQL / MySQL
SQL / MySQL
Command MySQL
RENAME
Rename a table
RENAME TABLE oneTable TO newTableName;
Related examples in the same category
1.
Rename a table is by using the RENAME TABLE statement
2.
RENAME TABLE can perform multiple table renaming operations in a single statement.
3.
Renaming a Table
4.
To rotate log tables to keep a set of daily tables covering the last week
5.
RENAME TABLE allows you to rename multiple tables, which allows you to do things such as swap the names of two tables in a single statement
6.
Rename two tables