Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limitation of 24 elements in SELECT IN...?
Message
 
 
To
16/07/2008 13:06:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01331712
Message ID:
01331714
Views:
10
>A coworker is attempting to query (using vb.net) a free foxpro table and join it to a query from sql server 2000 using the 'IN' clause. The query error message returned states that there are too many elements in the IN clause????
>
>Is there an easy way to do this?
>
>Join a foxpro free table with a result from sqlserver? Right now he queries the foxpro table into a temporary table and then queries it looking for in... the sqlserver select.

What is the exact query?

If I'm not mistaken (and I think I am) IN in VFP versions prior to VFP9 was similar to INLIST() function that had the 24 items limit.

E.g. myValue IN (val1,....) was the same as INLIST(myValue, ...). But I'm not certain about it.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform