Skip to main content

sqb query

Execute ad hoc SQL against the active project connection. Useful for inspecting data, debugging models, or running one-off queries without leaving the SQLBuild CLI.

Usage

Or from a file:

Flags

Output formats

long (default)

Vertical record format, one field per line:

table

Horizontal table format:

json

JSON array of objects:

csv

Standard CSV with headers:

Examples