Thanks @madskristensen for Community.VisualStudio.Toolkit.
We love it — it is the layer behind RenSQL by Rowdyne, our extension for #SSMS 21 and 22. Favourite part: Ctrl+Shift+E runs the SQL statement under your cursor, no selecting needed.
Happy Friday from Switzerland.
Happy Friday! 🧊
Black Friday is when production servers sweat. Big sites have gone down on this day before, and they came back, thanks to the people who fixed them.
To everyone on call today: you've got this.
BEGIN TRANSACTION. Check. COMMIT.
#SQLServer #SSMS
8
Looking for SSMS extensions? Two community lists worth bookmarking:
Daniel Brink's list: sqlmedic.com/SSMSExtensionLi…
@ErikEJ's SSMS 22 showcase: erikej.github.io/SsmsExtensi…
Happy Friday from Switzerland. #SSMS #SQLServer
In Visual Studio, Ctrl+Shift+F searches all files.
In SSMS it silently switches to "Results to File". Your next query asks where to save.
Find in Files in SSMS: Ctrl+Shift+H, then the Find in Files tab. Back to the grid: Ctrl+D.
#SSMS #SQLServer
1
57
RenSQL for SSMS: run SQL without selecting, query history, SQL library. rowdyne.com/rensql
25
Happy birthday, Arthur Bowley (b. 1869), pioneer of survey sampling.
#SQLServer tip: TABLESAMPLE samples pages, not rows.
Our 10% sample: 187 runs of ~56 adjacent rows. A cluster sample.
For random rows:
SELECT TOP (10) PERCENT *
FROM t
ORDER BY NEWID();
#SSMS #Statistics
Cheap check before a risky script: put
SET NOEXEC ON;
GO
at the top and hit F5. SQL Server compiles every batch but executes nothing. Typos and wrong column names show up; no data changes.
It stays on for the session: run SET NOEXEC OFF; before the real run.
#SQLServer #DBA
1
55
Selecting a query in SSMS before you press F5 is muscle memory. And when you miss a line, the wrong thing runs.
In RenSQL: put the cursor anywhere in the statement, press Ctrl+Shift+E. It finds the statement and runs just that one.
#SSMS #SQLServer
1
104
Thanks @ErikEJ for adding RenSQL to the SSMS 22 extensions showcase. Great to see the SSMS extension community growing.
erikej.github.io/SsmsExtensi…
192
Ran a query in SSMS yesterday and didn't save it?
If it's still in the plan cache, you can often get it back. Swap Customers for a word you remember:
Limits: only what's still cached, and it needs VIEW SERVER STATE.
#SQLServer #TSQL
1
132
I lost one SQL query too many in SSMS.
Ran it, it worked, closed the tab. Gone.
So I built RenSQL: it saves every query you run in SSMS, so you can search, pin and reuse it later. Free for personal use, runs 100% offline.
#SQLServer #SSMS
1
78



