Hello all,
I have a Dynamic Input with a query like this:
SELECT blabla FROM blabla WHERE blabla IN ('123', '234', '495', '4823',...)
The ('123', '234', '495', '4823',...) comes from a previous variable.
However I get an error "Error: ORA-01795: maximum number of expressions in a list is 1000", because this list of values has more than 1000 elements. Sometimes it can even has 2000 or 3000, it depends because it is a dynamic list.
Is there any way in which I can split it dynamically in smaller lists of <1000 elements and do the query (dynamic input) for each one of them?
Thank you all