Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN vs. SELECT???
Message
 
To
21/09/1998 14:29:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139130
Message ID:
00139209
Views:
15
>Hi Ed (and Perry)!!
>
>You can actually SCAN...ENDSCAN a remote table regardless of back-end source...not that you'd want to.
>
>
>>>
>>>I'd like to know, would a SCAN...ENDSCAN retrieve data faster than an SQL-SELECT from a remote server???? I'd like to add an OLEBar for download progress into my form, and I was wondering which would be the better to use.
>>>
>>>I almost forgot, my SELECT has 3 conditions to meet.
>>>
>>>TIA
>>
>>Probably, you mean VFP database, and not back-end server (because SCAN is applicable to VFP only). If this is a case, then the difference is following: SEEK/SCAN will be faster if you retrieve few records (few may mean even few hundreds). However, the bigger is number of retrieved records, the faster comparable SQL-SELECT will be.


Actually,

My dept is on one server, and the table I am accessing is on another server.
Perry E. Chrzanowski
Programmer/Analyst
Saturn (Solutions) Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform