r/SQLServer • u/DataFracking • 5d ago
Community Share Open Source Extension for SSMS 22 -> Tab Result History
This free open source SSMS 22 (I only tested in 22 / latest) extension keeps a read-only copy of each query's result sets in a dockable Results History window. Each result set gets its own tab with a close button (✕). Tabs belong to the query window they came from. They disappear when you close the tab or that query window. Nothing is written to disk.
NEW UPDATES: Now exports all history tabs to excel at once. Now Search Results. Now export as HTML in addition to pipe, csv, tab. Now view large text fields in dedicated window similar to xml on current results.
Updated Demo: https://www.youtube.com/watch?v=Cs_npK_t_Ss

This is something that is native in the Nexus Query Chameleon from Coffing which I've used over the years with TeraData, I freaking love that feature so much, I've always wanted it for SSMS, so I made an attempt and it works quite well.
Microsoft, if you're reading, go ahead and make it native in SSMS your own way please! Just give me credit for the idea.. and a free hat or something.. ha..
Full Code: https://github.com/TroBeeOne/DaffyResults
Demo Video:
1
u/DataFracking 2d ago edited 2d ago
Version 3 I add a new button on the toolbar for bulk loading CSV and Excel files to #temp tables super fast.
So basically: