This content has been marked as final. Show 2 replies
Although the trick of using OR would likely work, why don't you use a dynamic collection on the right-hand-side of the where in clause?
This thread has details Re: Binding collection to right-hand-side of WHERE num_col in (:1) clause?
Binding a VArray is not super easy, but at least with a bind value (the collection), you can have a single prepared statement, and vary just the collection you pass in. --DD