Hello all,
I was curious if someone could tell me when you should use an "IN" statement versus "OR" statements in your where clause, if you just have a list of values (not an "in (select.. from..).
So really I guess the main question is where, roughly, is the performance cutoff? 2 values? 20? 500??
Thank you, in advance!
-Kevin
- "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but it hurts.
I was curious if someone could tell me when you should use an "IN" statement versus "OR" statements in your where clause, if you just have a list of values (not an "in (select.. from..).
So really I guess the main question is where, roughly, is the performance cutoff? 2 values? 20? 500??
Thank you, in advance!
-Kevin
- "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but it hurts.