I will try WHERE EXISTS.
The WHERE EXISTS clause works more like an indexed column because your search ends the instance a hit is made.
The IN clause as you correctly stated uses full table scan because it ensures that the entire table is searched.
|
Results 1 to 2 of 2
Thread: SQL Query PerformanceThreaded View
|
Click Here to Expand Forum to Full Width |