All Products
Search
Document Center

ApsaraDB for OceanBase:RENAME TABLE

Last Updated:Jun 03, 2024

This topic describes the supported conversion scope of RENAME TABLE DDL operations during data migration from a MySQL database to a MySQL tenant of OceanBase Database.

Syntax

You can use the RENAME TABLE statement to rename one or more tables.

RENAME TABLE
tbl_name TO new_tbl_name
[, tbl_name2 TO new_tbl_name2] ...