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

Click here to load this message in the networking platform