Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help Optimizing a query
Message
From
09/08/2001 21:05:18
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00542086
Message ID:
00542099
Views:
25
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform