Death by a Thousand Cuts: Small T-SQL Mistakes That Destroy Performance
Proposed session for SQLBits 2026TL; DR
Many performance problems come from small, everyday T-SQL mistakes. Learn how seemingly harmless coding choices quietly add up to slow queries, and how to fix them.
Session Details
Many SQL Server performance issues don’t come from one obvious mistake, but from dozens of small, everyday choices in T-SQL code. Over time, these “tiny cuts” add up to slow queries, high CPU usage, and unpredictable performance.
In this session, we’ll examine common T-SQL patterns developers use all the time like implicit conversions, overuse of DISTINCT, scalar functions, unnecessary ORDER BY clauses and demonstrate how each one negatively affects performance. Through clear examples and execution plans, you’ll see why these patterns hurt, how to recognize them quickly, and what better alternatives look like.
Attendees will leave with a practical checklist of high-impact improvements they can apply immediately to write cleaner, faster, and more predictable T-SQL.
In this session, we’ll examine common T-SQL patterns developers use all the time like implicit conversions, overuse of DISTINCT, scalar functions, unnecessary ORDER BY clauses and demonstrate how each one negatively affects performance. Through clear examples and execution plans, you’ll see why these patterns hurt, how to recognize them quickly, and what better alternatives look like.
Attendees will leave with a practical checklist of high-impact improvements they can apply immediately to write cleaner, faster, and more predictable T-SQL.
3 things you'll get out of this session
Recognize common T-SQL coding patterns that degrade performance, even when the queries appear correct and return the expected results.
Understand why small T-SQL choices impact execution plans and resource usage, including CPU, memory, and I/O.
Apply simple, high-impact improvements to everyday T-SQL code to make queries faster, more predictable, and easier to maintain.
Speakers
Rich Benner's other proposed sessions for 2026
Hidden Power in SQL Server 2025: Off by Default, On by Choice - 2026
Level Up Your Stack with SQL Server 2025’s New Dev Features - 2026
Performance that Just Works: SQL Server 2025 Engine Enhancements - 2026
Using AI for Performance Tuning in SQL 2025 - 2026
What Happens If I Write This? - 2026