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. When a batch returns multiple row sets, the output pane renders stacked result grids with per-statement row counts, durations, and SQL snippets.
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,?), queries with more than 10 unbound placeholders after plan parameter substitution,my.cnfINI snippets, standaloneOPTION (...)query-hint fragments, unfinished<placeholder>/…templates, and DDL/maintenance statements on read-only SQLite connections. For SQL ServerSELECTstatements whose captured plan records compiled parameter values, Open in editor automatically substitutes the compiled values into the query. - 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).
Full Changelog: github.com/culpritsql/culprit-sql-studio/compare/v0.4.2...v0.4.3
Downloads & SHA-256 Checksums
culprit-cli-linux-x86_64(26.3 MB)culprit-cli-linux-x86_64.tar.gz(11.5 MB)culprit-cli-macos(41.9 MB)culprit-cli-macos.tar.gz(19.8 MB)culprit-cli-windows-x64.exe(21.8 MB)culprit-cli-windows-x64.zip(9.7 MB)Culprit-SQL-Studio-Linux-amd64.deb(13.1 MB)Culprit-SQL-Studio-Linux-x86_64.AppImage(86.9 MB)GitHub Release ↗