If I write a query like
select * from some_table where some_field in (1, 2, 3 ...)
then how long can this list be for query to be successfully executed?
If I write a query like
select * from some_table where some_field in (1, 2, 3 ...)
then how long can this list be for query to be successfully executed?
Quoted from
Oracle® Database SQL Language Reference
11g Release 2 (11.2)
Part Number E26088-01
"You can specify up to 1000 expressions in expression_list."
Does this question help?
Looks like it may be limited to 1000 items in the IN clause but you can get around that by sub querying. Be careful with a large number of items in the IN clause as it could affect performance.