Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help Optimizing a query
Message
From
13/08/2001 13:02:24
 
 
To
11/08/2001 03:37:14
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00542086
Message ID:
00543105
Views:
19
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,
Previous
Reply
Map
View

Click here to load this message in the networking platform