3.1. Importing tables using DDL
Here is a checklist for adding DDL upload functionality to AI2sql:
Verify your AI2SQL account privileges: Ensure that you have the necessary permissions to import DDL in your AI2SQL account. If you're unsure, check with AI2sql support.
Prepare DDL code: Make sure your DDL code is well-formatted and error-free. Your DDL code should only contain CREATE statements for tables, without any INSERT, UPDATE, DELETE or other data manipulation statements. Test the DDL code in a local environment before attempting to import it into AI2SQL.
Navigate to the "Tables" section: Access the "Tables" section from the main menu of the AI2SQL platform.
Click the "Import DDL" button: Locate and click the "Import DDL scripts" button to open the DDL import dialog.
Paste the DDL code: Copy your DDL code with only the CREATE statements and paste it into the provided text area within the DDL import dialog.
Click "Save": Confirm the import process by clicking the "Save" button.
Review the imported tables: Carefully review the imported tables and their structures. Ensure that all tables, columns, and data types are correctly imported.
Make modifications if necessary: If you identify any issues or inaccuracies, make the necessary modifications to the imported tables.
Save changes: Save your changes and verify that the DDL import has been successfully completed.
Our SQL Table Creation Script Parser Tool only supports
CREATE TABLE
scripts. To ensure a smooth experience with the tool, please follow these guidelines:
Provide only 'CREATE TABLE' scripts
Enter only 'CREATE TABLE' scripts for parsing. Additional SQL commands are not supported. For example:
Last updated