seniorT-SQL
What is SARGability and why does it matter for performance?
Updated May 17, 2026
Short answer
SARGability means a query can use indexes efficiently for filtering.
Deep explanation
A predicate is SARGable when SQL Server can use an index seek instead of scanning. Non-SARGable expressions like functions on columns (e.g., YEAR(Date)) prevent index usage. Proper query design ensures predicates remain deterministic and index-friendly.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro