Help Centre › Building Processes
Export query results to a CSV file.
Add it to a process
In the process designer, open the Add step tab. Find Export query to CSV under Database › Bulk & Import/Export, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| SQL SELECT query | Yes | The SQL query to execute |
| Output file path | Yes | The file path to export the results to |
| Connection name | Yes | Connection name |
| Parameters (JSON array) | No | Query parameters, one per line (value or key=value) |
| Delimiter | No | The CSV delimiter character Choices: Comma (,), Pipe (|), Semicolon (;), Tabs (\t). Default: ,. |
See all Database steps.
Errors
| Error | Description |
|---|---|
| Connection not found | No open connection exists with the specified name |
| Query error | The SQL query contains a syntax error or references invalid objects |
| File write error | Unable to write to the specified file path |
Tips
- Use SELECT with specific column names rather than SELECT * to control the output format
- Ensure the target directory exists before exporting
- Use parameterised queries to safely include dynamic filter values