About this question
Is there any limit for the content that the IN filter can handle? For example:
SELECT Name
FROM People
WHERE Job IN (All the values goes here)
Microsoft docs for IN says:
"Explicitly including an extremely large number of values (many thousands of values separated by commas) within the parentheses, in an IN clause can consume resources and return errors 8623 or 8632. To work around this problem, store the items in the IN list in a table, and use a SELECT subquery within an IN clause."
but is there any exact or approximate number for
many thousands of values