Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help Optimizing a query
Message
De
13/08/2001 13:02:24
 
 
À
11/08/2001 03:37:14
Walter Meester
HoogkarspelPays-Bas
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:
00543105
Vues:
15
Hey Walter,

Thanks for the tip. The old FOR - WHILE. I'll definitely give it a try.

>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
Répondre
Fil
Voir

Click here to load this message in the networking platform