Hello everyone,
I have a variable that goes like this ('123', '234', '845', '39429',...) etc.
I use that variable in a Dynamic Input, to do something like:
SELECT (blablabla) FROM (blablabla) WHERE (blablabla) IN ('123', '234', '845', '39429',...).
The problem is that my list contains more than 1000 numbers, and therefore I get an error like:
Dynamic Input: Error: OraOLEDB: ORA-01795: maximum number of expressions in a list is 1000; OraOLEDB: ORA-01795: maximum number of expressions in a list is 1000 in Query...
Is there anyway in which I can split my list (which has more than 3000 records, but in the future it could even have 5000 or more), in several lists of less than 1000?
And then do several queries like
select field1, field2, field3 from table1
where name in ('value1', 'value2', ..., 'value999')
or name in ('value1000', ..., 'value1999')
or ...;
Thank you very much!