3
What is the maximum size of an sql query string? (Maximum query statement) Ex:
SELECT * FROM ajuda WHERE (id = 1 OR id = 2 OR id = 3 OR...
@Edit:
The bank I was using (access) has other limits besides those under the siege by @Paulohdsouza.
- Number of characters in an SQL statement
- Number of AND Operators in a WHERE or HAVING clause
- Number of characters for a Parameter in a Parameter query

Maximum size of the command?
– Jéf Bueno
I believe that there is no limit to the command but as you are using
ORwhen the query finds one that returnstruehe stops executing.– RFL
has tried WHERE id in(1,2,3,4,5) ????
– RBoschini
Oh I don’t know exactly what you want, but it would be nice if you edited the question and tried to be a little clearer.
– Edilson
The @Paulohdsouza answered what I wanted. I was not clear because I wanted to know the general database anyway. In English the question would make more sense since I can’t think of a translation for: Maximum query statement.
– Delliriun
The maximum size will depend on your processor for the query. Because SQL is unlimited.
– Ivan Ferrer