This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Limit on number of parameters in the IN clause of a query

Hello, is there a limit in MariaDB JDBC driver, on the number of parameters that can be passed in the IN clause of a SQL query? If so, what is it?

Example: select a, b, c from table where a IN (2, 4, 6, 7, 8, ........ N)

Thanks for the help

-Sravan

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.