My Favorite Query Hints with Brent Ozar
11/24/2026
12:00 PM CT
Online
Sometimes SQL Server needs a little encouragement.
Query hints can influence how SQL Server executes a query, but knowing which ones to use, when to use them, and whether you need one at all takes experience.
Join Brent Ozar as he shares his favorite query hints, explains how to recognize when a query might benefit from one, and shows how dynamic SQL can be used to inject hints when needed.
You'll learn:
- Which query hints Brent likes to use and why.
- How to identify when a query might need a particular hint.
- How dynamic SQL can help you apply query hints.
- When to consider OPTION (RECOMPILE).
Bring your SQL Server questions and get ready for some practical query-tuning insights from Brent!