Advanced T-SQL Triage: The Art of Fixing Terrible Code

Schedule

Fri Mar 13 2026 at 09:00 am to 04:00 pm

UTC-05:00

Location

Wojcik Conference Center | Palatine, IL

Advertisement
In this full-day festival of query-fixing, Erik Darling will lead you through the real-world mysteries of advanced T-SQL
About this Event

You’ve seen it before: the procedure that looks like it was generated by an AI trained on Stack Overflow and despair. It’s got MERGE. It’s got RIGHT JOINs. It’s got logic so tangled you’d need a flowchart, a flashlight, and a therapist to debug it. And now… it’s your problem.

In this full-day festival of query-fixing, Erik Darling will lead you through the real-world mysteries of advanced T-SQL: the strange, the slow, and the occasionally cursed. You’ll tackle tangled paging logic, rescue window functions and indexed views from spools and spills, and finally learn when to keep a CTE—and when to yeet it. We’ll refactor data modifications that block like linebackers, decode procedural patterns, and write dynamic SQL that’s powerful and polite.

You’ll learn when to CROSS APPLY, dig into views vs. inline TVFs, and discover why RIGHT JOIN is not simply LEFT JOIN’s syntactic twin. We’ll uncover when user-defined functions wreck your query execution plans—and how to rewrite them with flair. If you’ve ever been curious about why that query sometimes takes SO long and how to best rewrite it without just guessing, this is your playground.

Expect fast demos, big laughs, and a glorious cheat sheet to take home. Because refactoring SQL isn’t just necessary—it’s super fun when you're in the right party.

Advertisement

Where is it happening?

Wojcik Conference Center, 1200 Algonquin Road, Palatine, United States

Event Location & Nearby Stays:

Tickets

USD 188.58

Icon
Know what’s Happening Next — before everyone else does.
Data Saturday Chicago

Host or Publisher Data Saturday Chicago

Ask AI if this event suits you:

Discover More Events in Palatine

Getting Started with Microsoft Fabric and Power BI
Fri, 13 Mar at 09:00 am Getting Started with Microsoft Fabric and Power BI

Wojcik Conference Center

WORKSHOPS
Advanced T-SQL Triage: The Art of Fixing Terrible Code
Fri, 13 Mar at 09:00 am Advanced T-SQL Triage: The Art of Fixing Terrible Code

Wojcik Conference Center

ART FESTIVALS
Data Saturday Chicago
Sat, 14 Mar at 08:00 am Data Saturday Chicago

Wojcik Conference Center

What's Happening Next in Palatine?

Discover Palatine Events