Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed of Scan for versus Query
Message
 
To
08/11/2003 09:26:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00847918
Message ID:
00848045
Views:
19
Hilmar

You might be interested in the following comparison

The database being scanned has 50 fields so records sizes are quite large
approx 59000 records

The following code took 18 seconds

select globalnew
set order to tag created
go top
scan for accountno=accountno
endscan

The following code took 1 second

select globalnew
set order to tag created
go top
scan while accountno=accountno
endscan

An enormous difference - is this because Rushmore gets invoved in the firsr example?

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform