Excuse if the question is trivial, but I've been having trouble figuring this out.
So i have a setup where some values for a query will be received from Saxon. In example code, that would be like
select *
from a
where a.value > 0 AND (a.name IN ':variable')
In this case ':variable' will be switched out to a list like ('abc','de f','Egh1', ...) But this has started causing a problem when the list is more than 1000 elements long.
I was trying to figure out how to convert variable into a sub-query through CAST, but have been unsuccessful so far. How would it be recommend to handle a case like this if i need the changes to be done entirely in SQL?