Skip to content

fix(mssql): assemble chunked JSON and XML query results - #361

Merged
Maxteabag merged 1 commit into
mainfrom
fix/336-mssql-document-results
Nov 27, 2026
Merged

Maxteabag merged 1 commit into
mainfrom
fix/336-mssql-document-results

Conversation

@Maxteabag

Copy link
Copy Markdown
Owner

Closes #336.

Join fragments under SQL Server’s generated FOR JSON and FOR XML column names before passing the logical row to the results viewer. Ordinary result columns retain their row limits.

The SQL Server 2022 reproduction returned three fragments for a 60-row customer query. The prototype returned one valid 4,822-character JSON document and the TUI opened its tree and syntax views. The final patch uses an exact case-insensitive column-name match to keep similarly named ordinary columns intact.

@Maxteabag
Maxteabag merged commit 721d647 into main Nov 27, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

syntax viewer in SQL Server database

1 participant