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
- Open the SQL Console for the target data source.
- In the object tree on the left, locate the target table.
- Right-click the table, then click Convert Schema.
- Select the target database type as prompted by the page.
- 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.