Scroll to navigation

SQLREDUCE(1) User Commands SQLREDUCE(1)

NAME

sqlreduce - Reduce verbose SQL queries to minimal examples

DESCRIPTION

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

[--debug] [query ...]

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

positional arguments:

Query to reduce to minimum

options:

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

January 2024 sqlreduce 1.3