Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the max number of items in IN clause?
Message
From
27/04/2010 10:32:36
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01462166
Message ID:
01462196
Views:
48
This message has been marked as a message which has helped to the initial question of the thread.
I seem to recall that Calvin said that the limit was removed in an earlier version, and now depends on the amount of RAM. However, the error message "Statement is too long" is probably shown because the whole statement is too long???

>Hi everybody,
>
>Did anyone find a maximum number of items you can use with select .. Item IN (...) clause?
>
>The limit seems to be 159 items before it gives SQL: Statement too long (Error 1812).
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform