GETTING STARTED

Import and export SQL and data

Bring compatible SQL scripts into Studio and export SQL text or query results.

Import a SQL file

In the SQL editor, choose Import SQL and select a .sql file. The file contents replace the editor text; importing alone does not execute SQL. Review the statements, referenced objects and access before choosing Run.

Move data from another database

Export compatible CREATE TABLE and INSERT statements from the source database. Adapt the script to Forge SQL’s MySQL/TiDB dialect and test a small sample first. Remove unsupported foreign keys, transaction control, database-selection commands and vendor-specific syntax. This is a script-based import, not a live connection or automatic conversion of every database dump.

Run and check the import

Run the reviewed statements in order. Each statement commits independently, so a later error does not roll back earlier changes. For a longer multi-statement run, use the background option and review its per-statement outcome in Processes. Query the imported tables to verify row counts and values.

Export SQL or table results

Export SQL downloads the current editor text as a .sql file; it does not generate a full database dump. To export table data, query the rows and use Export CSV in the results. The CSV contains the exported result rows, not table definitions, permissions or a complete restorable database.

Continue learning