RENAME TABLE

2025-10-30 08:37:50  Updated

This topic describes the supported conversion scope of RENAME TABLE DDL operations during data migration from a MySQL database to a MySQL-compatible 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] ...

Contact Us