1

What's the maximum number of arguments allowed within the IN(., ... ,.) function?

With another words, what's the maximum N for such query to be valid

SELECT * FROM  mytable WHERE mycol IN (a1, a2, ..., aN);
Haradzieniec
  • 9,086
  • 31
  • 117
  • 212
  • 1
    There is not *per se* a maximum, but there might be a maximum query length -- and there might be a better way to write the query without an `IN`. – Gordon Linoff Jan 22 '17 at 17:20

0 Answers0