SyntaxFix
Write A Post
Hire A Developer
Questions
I am almost sure you can split values across multiple INs using OR:
select * from table1 where ID in (1,2,3,4,...,1000) or ID in (1001,1002,...,2000)