Repository navigation
Culprit SQL Studio 0.4.3
Added
- Multi-statement execution and multiple result panes in the SQL Editor. Clicking Run (
⌘↵) on a script or selection containing multiple;- orGO-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 theSELECTresult grid. - Multiple
SELECTstatements: 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.
- Single result set + setup statements (such as
Fixes
- Runnable
lock-escalationsExtended Events session script. Comments out the illustrativeWHILE 1 = 1batching loop template inlock-escalationsfindings so opening the script in the SQL Editor runs theCREATE EVENT SESSION+ALTER EVENT SESSION+SELECTstatements immediately without syntax errors. - Smart
Open in editorfiltering and parameter substitution. Hides Open in editor on:- Parameterized write statements (
DELETE,UPDATE,INSERT,MERGEwith@par0,$1,?). - Read queries with more than 10 unbound placeholders remaining after plan parameter substitution.
- Non-SQL
my.cnfINI blocks ([mysqld]), standaloneOPTION (...)query-hint fragments, comment-only guidance blocks, and unfinished<placeholder>/…templates. - DDL/maintenance statements on read-only SQLite connections.
- For SQL Server
SELECTstatements 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.
- Parameterized write statements (
- SQL Server Plan Cache parameter declarations. Splits leading
(@P1 int, …)parameter headers insys.dm_exec_sql_textplan-cache entries intoQueryStat.parametersandQueryStat.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