If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I want the performance of IN(),NOT IN(),EXIST(), NOT EXIST(), LIKE(), NOT LIKE() In sql 2005
Which one is slower in execution and which is best to fetch records as per execution time.
Anybody have any ideas ?
Last edited by AnushreeDarshane; 07-03-09 at 06:01.
Hi Anushree,
I am also facing same question.
It will be appreciated if you could post the answers if you have.
Also have one more question searching answer from last 2 years.....
As Pat said. Typically, though, exists and not exists should be faster, due to they only look for a single occurence of some condition. Though, there are times that the IN can be used for index matching and it would be faster.
Dave