Why “OR” in JOINs Kills SQL Performance (with Execution Plan Proof)
Автор: Meysam Zahedi
Загружено: 2025-10-22
Просмотров: 13
Описание:
In this video, we explore a common SQL mistake — using the OR operator in a JOIN condition.
I’ll walk you through a practical example using two tables, show how this approach affects performance, and then demonstrate a cleaner, faster alternative.
Together, we’ll dive into the Execution Plan to understand why the query with “OR” runs slower and how SQL Server processes these queries internally.
Scripts used in this video: https://github.com/MeysamZa/Stop-Using-OR-...
#SQLServer #QueryOptimization #SQLPerformance #ExecutionPlan
#TSQL #DatabaseOptimization #SQLTips #SQLQuery #DataEngineering
#PerformanceTuning #DBA #LearnSQL #SQLTutorial
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: