Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT ...WHERE cCode IN (SELECT cCode FROM LocalTable)
Message
De
10/05/1999 21:01:07
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SPT ...WHERE cCode IN (SELECT cCode FROM LocalTable)
Divers
Thread ID:
00217009
Message ID:
00217009
Vues:
41
(VFP6) I want to do an SPT query like

SELECT LotsOfData FROM GiantServerDatabase ;
WHERE GiantServerTable.Code ;
IN (SELECT cCode FROM LocalTable)

to avoid pulling back so many records and then throwing out the ones I don't want. The LocalTable has 57 codes, and at 20+ minutes per query, I don't want to loop through my 57 codes and do 57 parameterized queries.

This is data for a report which will be run monthly.

Any advice? Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform