Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help Optimizing a query
Message
De
09/08/2001 21:05:18
 
 
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:
00542099
Vues:
22
I was hoping, but no that takes just as long as the previous multi SQL. Thanks guys for helping out. Gotta run.

>Try following trick (it would only work in foxpro)
>    Where ;
>        Upper( Ramp ) = 'CHICAGO'  ;
>    Having ;
>       Between( HourCount, 37, 48 ) And ;
>        Upper( Vendor ) = 'NIKE' ;
>
>>>How long it will it take if you leave only one condition?
Where Upper( Ramp ) = 'CHICAGO'
That's the minimum time you can get for this query.
>>>
>>>>That's true. Please see my reply to Alex Wieder.
>>>>
>>>>>Dan,
>>>< SNIP >
>>
>>I did a select which just did the top select which writes out 27,705 records.
>>I then did another select which applied the rest of the filters.
>>
>>This took 31 seconds.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform