All Products
Search
Document Center

ApsaraDB RDS:Use the SQL translation feature

Last Updated:Sep 18, 2023

This topic describes how to use the SQL translation feature that is provided by ApsaraDB RDS for PostgreSQL. This feature translates the SQL statements in other database engines to the SQL statements in PostgreSQL.

Background information

The SQL translation feature can be used to translate only the SQL statements that are used by Oracle to the SQL statements that are used by PostgreSQL.

Procedure

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
  2. In the left-side navigation pane, click SQL Translation.

  3. In the Source Database section, enter the SQL statements that you want to translate.

    Note

    In the Destination Database section, the SQL statements after translation are displayed.

    SQL翻译