RAZ-2214: MS SQL & Oracle: Error when adding more then 2000, resp. 1000 items to a IN clause