Skip to main content

AI DDL Conversion

AI DDL Conversion transforms the current table's DDL into create-table statements for other database types, which is useful for cross-database migration, compatibility checks, and object duplication.

Supported Data Sources

  • MySQL-family data sources (PolarDB-X is not supported)
  • Oracle
  • OceanBase Oracle
  • DaMeng
  • HANA
  • SQL Server

Steps

  1. Open the SQL Console for the target data source.
  2. In the object tree on the left, locate the target table.
  3. Right-click the table, then click Convert Schema.
  4. Select the target database type as prompted by the page.
  5. Review the generated DDL and copy, save, or edit it as needed.

Tips

  • Use the generated output as a conversion draft. Before migration, confirm data types, indexes, constraints, and database-specific behaviors.
  • If you want to generate application code from the table structure instead, see AI Table Structure to Code.