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.

56 posts 4 series 107+ memes
Investigating Errors With Extended Events

Investigating Errors With Extended Events

Production errors are hard to reproduce. Here's my go-to Extended Events session that captures errors with their full TSQL calling stack.

How to 6 min read Extended Events · XML
Out with the old…

Out with the old…

WordPress was making me hate blogging. Moving to Hugo, GitHub, and Azure Static Web Apps fixed that.

Non-technical 2 min read Personal
Work Life Balance (T-SQL Tuesday #141)

Work Life Balance (T-SQL Tuesday #141)

Work-life balance has been my focus for the past year and I've already made some changes to my lifestyle. Now it's time to take a look back and evaluate.

T-SQL Tuesday 2 min read Personal
Containers and Me (T-SQL Tuesday #140)

Containers and Me (T-SQL Tuesday #140)

It took three tries before containers clicked for me. Each time I learned a bit more, but it wasn't until I had my own project that it all came together.

T-SQL Tuesday 2 min read Docker
My Favourite Data Type (T-SQL Tuesday #136)

My Favourite Data Type (T-SQL Tuesday #136)

Brent Ozar asked the SQL community about their favourite data type. My answer surprised even me - sql_variant. Here's why, plus the data type I can't stand.

T-SQL Tuesday 2 min read
My Experience Doing the Online Proctored Exam

My Experience Doing the Online Proctored Exam

My impressions right after taking an online proctored exam. There were a couple of problems I ran into. Hopefully, this article will help you prepare.

Non-technical 5 min read Personal · Certification
Generate XML documents efficiently

Generate XML documents efficiently

Believe it or not, there is a wrong and correct way when it comes to generating XML documents in SQL.

How to 4 min read XML · Performance