Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Future as a FoxPro Developer
Message
From
12/07/2004 19:50:28
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
12/07/2004 05:41:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00918302
Message ID:
00923491
Views:
23
Kevin,

I agree, it sounds remarkable that OLEDB seems quicker than local tables, that certainly isn't the party line!

Of course, there is more than just SQL going on here. How many fields/records are there? That SCATTER MEMVAR...INSERT loop could be pretty inefficient if there are lots of fields and/or rows. Why not replace it with
Select results
Append from DBF('test')
You might also consider USE ... NOUPDATE NOREQUERY though I doubt that has much to do with it.

Finally, I believe both the OLEDB and native VFP will "cache" tables between queries, sometimes yielding much quicker queries the second time around. I'm wondering whether it is possible to correct for this in your C# version?

Regards

j.R
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform