Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select SQL vs Copy to Array While... -- Which one wins?
Message
From
30/09/1996 15:54:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00008720
Message ID:
00008904
Views:
35
>>first
>I was surprised at the results. The table has about 70,000 records. But the Select SQL is noticeably slower.

as u said in another msg it is probably just the slight overhead of the
SELECT itself

>>regarding option 2 - why use an array, u can simply CREATE CURSOR and copy directly into it
>
>Needed to capture the Recno() of the records extracted from the original table. Can't do that with CREATE CURSOR because neither COPY TO nor APPEND FROM support anything but field names.

adding a single REPLACE for the RECNO() takes less code :)

Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform