I recently had a developer come to me with a poorly performing query. As you will see below, it’s a fairly straight forward query, consisting of one table with one join and a simple WHERE clause. The problem was that this query was taking over 11 minutes to run, and…
The post Performance Problem When Using OR In A JOIN appeared first on SQL Nuggets.