General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2014
>>Hi,
>>Execution Plan for my query is attached - but Naomi's suggestion runs in 5 secs whereas mine was taking 25 so that's good enough.
>>
>
>Yes, Naomi's code hits the "sweet spot" - and (not "but") it's important to understand "why". Take a look at the execution operators now in the new query, and compare it to the old plan. Notice a difference? :)
Nested loops?
I guess what I'd really forgotten about was the difference between WHERE and HAVING :-{
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only