Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Expression is too complex
Message
From
17/05/2001 09:45:44
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00508252
Message ID:
00508266
Views:
25
>Hi!
>
>Insert a list of values into some temporary table before the query. Than use IN (SELECT ...) in youre WHERE clause. In other words, instead of comma-separated list of values provide a SELECT statement.

Hi Vlad,

I can use a local cursor OR table in an SPT statement as a referance? I was not aware of this. I will look into this. I tried something else, I did: CUST.cust_no IN ( listed 20 cust no's ) OR CUST.cust_no IN ( listed 20 more cust no's ) OR CUST.cust_no IN ( listed 20 more cust no's ) etc... This worked, but took way too long. I'll get down to trying what you said. This will take a while.

Thanks
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform