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
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
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 @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.
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



