Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Expression is too complex
Message
De
17/05/2001 09:45:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00508252
Message ID:
00508266
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform