You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/11/09 14:59:09 UTC

[GitHub] [shardingsphere] strongduanmu commented on issue #7967: Unsupported SQL of `RENAME TABLE`

strongduanmu commented on issue #7967:
URL: https://github.com/apache/shardingsphere/issues/7967#issuecomment-724066293


   @tuohai666 Refer to the official [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/rename-table.html), `RENAME TABLE Statement` must contain the `TO` keyword.
   
   ```sql
   RENAME TABLE
       tbl_name TO new_tbl_name
       [, tbl_name2 TO new_tbl_name2] ...
   ```
   You can try the following SQL:
   
   ```sql
   rename table t_order TO `order`;
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org