Well, I am asking because I have a query and I am gauging performance. The end of my WHERE clause criteria is, "AND table.column NOT IN (56)". I have been testing the speed and using NOT IN instead of "<> 56" is much faster. The results for NOT IN are very consistent while the results for <> are all across the board. Not sure why this is, but it is. /
Same exact plans. Weird . . thinking it may be order precedence and decreasing the size of a result set. I dunno, but i do know I have to get back to work and stop thinking about this. )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.