Man page - sqlreduce(1)

Packages contas this manual

Manual

SQLREDUCE(1) User Commands SQLREDUCE(1)

sqlreduce - Reduce verbose SQL queries to minimal examples

usage: sqlreduce [-h] [-d DATABASE] [-f FILE] [--sqlstate] [-t TIMEOUT]

[--debug] [query ...]

Reduce a SQL query to the minimal query throwing the same error

Query to reduce to minimum

show this help message and exit
Database or connection string to use
Read query from file [Default: stdin]
Reduce query to same SQL state instead of error message
Statement timeout [Default: 500ms]

--debug

November 2025 sqlreduce 1.4