Import and export data
Choose table/database scans or loaded SQL results for export, and review the separate SQL and positional CSV input flows.
When to use this
Move a reviewed set of tables, fields or loaded result text to a file. Import compatible SQL or prepared CSV only after confirming the destination and commit behavior.
Use this for table or result-file exchange. Use the related Backup and restore and CDA migration guides for their separate archive and migration contracts.
Before you start
Verify the workspace, connection, database and Schema. Export requires readable data/metadata and a writable local directory; import requires a reviewed compatible file, the intended target and permission for its actual writes. Inspecting a dialog alone does not require confirming an import.
Steps
- Choose Table → Export table, Database → Export Current Database, or the SQL Editor result toolbar’s Export query results button according to the source.
- Review the actual table/result scope, format, nonempty field selection and destination. Table scans ignore grid paging/selection; query export collects every loaded result table as text.
- After exporting, locate and inspect the real file. Completion feedback alone does not verify every row or format option.
- For input, use Table → Import table and choose UTF-8 .sql or .csv. Review the SQL destination/recreation choices or the existing CSV target before accepting the write.
- After an authorized import or an uncertain interruption, read fresh target data and identify committed work before retrying.
How to verify the result
A reviewed file is available at the actual chosen destination, or authorized SQL/CSV statements have changed the reviewed target. Confirm the outcome from the file or fresh database reads, separately from progress and success feedback.
Troubleshooting
- No table or unexpected table: keep a content tab open, verify the object-tree selection, current database/Schema and active format checks. A tab context menu does not itself replace tree export selection.
- Wrong result rows or missing types: inspect all loaded result tabs and local hidden rows. Result export uses item text rather than raw typed values; grid selection is not its filter.
- Wrong directory or missing file: use Browse in the result wizard, choose an existing writable directory and a base filename, then inspect the actual artifact. Table Path is applied separately.
- Unexpected columns, keys or delimiters: keep a nonempty adapter selection, recheck checkboxes after editing names, and inspect format-specific output. Result CSV stays comma-separated; SQL/table XML and result JSON do not apply all aliases.
- SQL import error or cancellation: review the statement-numbered error and full file, inspect the exact target and committed effects, and avoid replaying earlier writes blindly.
- CSV import error: check UTF-8, comma separation, one skipped header, positional field order/count, identity/default constraints and string/NULL expectations before another authorized attempt.
- Engine or format unavailable: check metadata/permissions, driver and packaged format dependencies. Keep native MongoDB/Redis and backup/CDA flows separate from SQL/CSV table import.
Limits
- Table/database export re-reads selected tables in batches; it does not use the current grid page, SQL condition, highlight or selected rows and does not guarantee a concurrent-write snapshot.
- Query export collects all loaded result widgets, including locally hidden rows, as displayed strings. It has no selected-row/current-page/result-tab scope switch and does not fetch unreturned server rows.
- Only UTF-8 .sql and .csv input branches are implemented here. CSV skips the first row and maps by target-column position, with no field mapping, preview, NULL selector or conflict policy.
- SQL files can contain arbitrary remaining statements. Target redirection is limited; unchecked drop does not neutralize destructive SQL in the file. SQL/CSV cancellation can retain committed writes.
- Use Browse to set the actual query-result directory; typed Export Path alone is ignored. Output can replace a matching file without another prompt, and cancellation can leave partial files.
- An empty field selection can fall back to all fields. Some advanced/format controls do not have the expected independent effect; inspect output before relying on field exclusion, aliases, delimiters or SQL options.
- Import/export remains partial by relational/MongoDB engine and unsupported for Redis relational transfer. A SQL export is not a complete backup, CDA archive or automatic cross-dialect migration.