I wonder what is the difference in terms of performance or use of resources between a sentence in sql where I have a WHERE sentence of the kind
WHERE VALUE IN (A,B,C .......)
or
WHERE VALUE = A OR VALUE = B OR VALUE = C.....
I am wondering this because in an Oracle Query I have to search all the information related with this values. I can not create a temporary table. I just receive them from an external source. First I though I would be as simple as putting them inside the IN clause. The number of values is variable but never lower than 3000. On the other hand I read that there is a limit in Oracle for the quantity of values for kind of conditions, but until now I have never received more than 4000.