All Products
Search
Document Center

RENAME TABLE

Last Updated: Aug 17, 2020

This topic describes how to rename a table in Distributed Relational Database Service (DRDS) by executing the RENAME TABLE statement. The following sample code shows the syntax:

  1. RENAME TABLE
  2. tbl_name TO new_tbl_name

DRDS does not allow you to execute RENAME TABLE to rename multiple tables at the same time. For stability and performance purposes, a table that contains a GSI cannot be renamed. In addition, index tables cannot be renamed separately. If you need to rename an index, see the RENAME INDEX method in ALTER TABLE.__