Viewing 4 posts - 1 through 4 (of 4 total)
Jeff Moden (11/11/2008)
Also, can you post your restructured WHERE clause, please?
Below is the code using the restructured WHERE clause you posted. In testing I saw no noticable difference; 8-10 seconds....
November 12, 2008 at 6:32 am
Thanks Jeff, I tried the restructured WHERE clause, and there is no noticable difference in the time. Removing the DISTINCT keyword still causes it to return duplicates.
It seems that...
November 11, 2008 at 6:13 am
Well that little recommendation is worth a million bucks! Appears to be as fast as running the SELECT statement. Thanks:)
I guess I hadn't thought of that. I actually try to...
November 10, 2008 at 10:08 am
First I would like to thank you all for your replies. It took me a bit to digest all of the information, and read the articles on Parameter Sniffing.
After...
November 10, 2008 at 8:45 am
Viewing 4 posts - 1 through 4 (of 4 total)