Skip to content

Culprit SQL Studio 0.4.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 11:34
· 913 commits to main since this release

Added

  • Multi-statement execution and multiple result panes in the SQL Editor. Clicking Run (⌘↵) on a script or selection containing multiple ;- or GO-separated statements now splits the script into individual statements (respecting single/double/backtick/bracket quotes, PostgreSQL dollar-quoting, and comments) and executes them sequentially in order:
    • Single result set + setup statements (such as CREATE EVENT SESSION …; ALTER EVENT SESSION …; SELECT …;): displays a clean completion summary for the command statements alongside the SELECT result grid.
    • Multiple SELECT statements: renders stacked result panes (SSMS-style), each with its own row count, execution time, and statement snippet header.
    • Production write safety: checks every statement in a multi-statement batch before running against a production connection, aggregates warnings across all statements in the confirmation dialog, and reports the exact statement index (Statement N of M) if an error occurs mid-batch.

Fixes

  • Runnable lock-escalations Extended Events session script. Comments out the illustrative WHILE 1 = 1 batching loop template in lock-escalations findings so opening the script in the SQL Editor runs the CREATE EVENT SESSION + ALTER EVENT SESSION + SELECT statements immediately without syntax errors.
  • Smart Open in editor filtering and parameter substitution. Hides Open in editor on:
    • Parameterized write statements (DELETE, UPDATE, INSERT, MERGE with @par0, $1, ?).
    • Read queries with more than 10 unbound placeholders remaining after plan parameter substitution.
    • Non-SQL my.cnf INI blocks ([mysqld]), standalone OPTION (...) query-hint fragments, comment-only guidance blocks, and unfinished <placeholder> / … templates.
    • DDL/maintenance statements on read-only SQLite connections.
    • For SQL Server SELECT statements whose captured plan records compiled parameter values (@par0 = N'…'), Open in editor automatically substitutes the compiled values into the query so it can be run or explained immediately.
  • SQL Server Plan Cache parameter declarations. Splits leading (@P1 int, …) parameter headers in sys.dm_exec_sql_text plan-cache entries into QueryStat.parameters and QueryStat.text (matching Query Store).

Downloads & Installation

Platform Desktop App CLI & MCP Server
macOS (Apple Silicon & Intel, Universal, signed & notarized) Culprit-SQL-Studio-macOS.dmg culprit-cli-macos.tar.gz
Windows (x64) Culprit-SQL-Studio-Windows-x64-setup.exe culprit-cli-windows-x64.zip
Linux (x86_64) Culprit-SQL-Studio-Linux-x86_64.AppImage · .deb culprit-cli-linux-x86_64.tar.gz

Checksums for all artifacts are in SHA256SUMS.txt. Existing desktop installations will receive the signed 0.4.3 update automatically via latest.json.

Full Changelog: v0.4.2...v0.4.3