Guide

Export large SQL results to CSV or Excel

When results get big, exports fail for predictable reasons: row limits, memory pressure, or slow downloads. This guide shows how to ship CSV or XLSX reliably while preserving run history and traceability.

Start free No credit card required. See exports

Related: scheduled SQL reports and on-prem execution.

CSV vs Excel for large exports

Choose CSV when you need the fastest snapshot for sharing or downstream tooling. Choose XLSX when stakeholders need workbook delivery.

  • CSV: fastest generation, easiest ingestion in pipelines.
  • XLSX: business-friendly format for reporting workflows.

Limits, paging, and performance

Keep exports reliable by controlling scope. Raise limits only when necessary and prefer paging when datasets can be shipped in chunks.

When to raise limits

Raise limits for full extracts when execution time and network bandwidth are predictable.

When to page results

Page by date window, ID range, or partition key for safer repeatable delivery.

Where the file appears

Completed runs appear in notifications with download actions and remain linked to run history metadata.

Make exports repeatable

Large Excel exports are most useful when they stay part of a recurring reporting workflow instead of becoming a one-off manual file drop. By scheduling exports, you ensure stakeholders get fresh data on a predictable cadence without manual intervention.