Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help Optimizing a query
Message
De
11/08/2001 03:37:14
Walter Meester
HoogkarspelPays-Bas
 
 
À
09/08/2001 20:18:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00542086
Message ID:
00542623
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
Hi Dan,

IMO, the following be about the fastest way to get the data you want.
SELECT YourTable
SET ORDER TO TAG Ramp
SEEK "CHICAGO"
COPY FIELDS Ramp, Vendor, VendCity, VendSt, HourCount ;
     TO TempTable ;
     FOR Between( HourCount, 37, 48 ) And Upper( Vendor ) = 'NIKE' ;
     WHILE Ramp="CHICAGO"
I think it would be hard to get any faster than this with a SQL statement.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform