Say you have the following query:
SELECT * FROM table1 WHERE table1.id IN (1, 2, 3, 4, 5, ..., 999999)
What is a reasonable maximum for the
It looks like a duplicate of this topic: https://stackoverflow.com/a/4275704/838712
In the provided answer, it is clear that there is no official limit in the specs, but it rather depends on your DBMS config.