PDA

View Full Version : MySQL IN Clause: Maximum arguments




elppa
Feb 12, 2009, 07:08 PM
What's the maximum number of arguments you can use in a MySQL IN clause?

Or is there no predefined limit?

Yes I have tried searching the manual and Google and no I can't find the answer.



davethewave
Feb 13, 2009, 07:26 AM
What's the maximum number of arguments you can use in a MySQL IN clause?

Or is there no predefined limit?

Yes I have tried searching the manual and Google and no I can't find the answer.

appearentely there is no limit.
but again, if you have such a big number of arguments, it is better to look on a sql statement / sql schema rewrite.
bye DV

elppa
Feb 13, 2009, 08:11 AM
appearentely there is no limit.
but again, if you have such a big number of arguments, it is better to look on a sql statement / sql schema rewrite.
bye DV

Cheers.

I'm very happy with the schema.

There won't be many, just don't want it cutting out after 10