Notes from a TSQL trench

Database stuff,
with a side of memes.

Long-form notes on TSQL performance, Extended Events, Query Store and the tooling around them. Written from the trenches, not the slide deck.

62 posts 4 series 109+ memes
Extended Events and I (T-SQL Tuesday #166)

Extended Events and I (T-SQL Tuesday #166)

Grant Fritchey asked us to talk about our favourite SQL Server tool for T-SQL Tuesday #166. Mine is Extended Events - and I have the GitHub repo and a public speaking session to prove it.

T-SQL Tuesday 3 min read Extended Events
Misleading SSMS Connection

Misleading SSMS Connection

Read a cautionary tale on how I've deceived the SSMS, then promptly forgot about it and, in turn, ultimately confused myself.

Investigation 3 min read Debugging · Docker
Advent of Code 2022

Advent of Code 2022

This December I'm solving Advent of Code in two languages at once - SQL and KQL. Here's where I'm posting the code and how far I think I'll get.

Non-technical 2 min read KQL · Personal
Default event_file path for Extended Events

Default event_file path for Extended Events

Create an Extended Events session with just a filename and the .xel file lands somewhere - but where? Here's what the default path is and how to change it.

How to 4 min read Extended Events · Docker
T-SQL Tuesday #156 - Wrap Up

T-SQL Tuesday #156 - Wrap Up

Fifteen SQL bloggers answered one question: what turns ordinary code into production code? Here's what they taught me.

T-SQL Tuesday 3 min read
Testing the code (T-SQL Tuesday #156)

Testing the code (T-SQL Tuesday #156)

I picked the T-SQL Tuesday topic and still struggled to answer it. The quality of production code I value most: it has tests.

T-SQL Tuesday 2 min read Regex · CI/CD
Production Code (T-SQL Tuesday #156)

Production Code (T-SQL Tuesday #156)

I'm hosting T-SQL Tuesday this November. The question: which secret ingredient turns ordinary code into production-grade code?

T-SQL Tuesday 1 min read