Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL server vs Foxpro table
Message
From
22/10/2003 10:49:55
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
22/10/2003 09:09:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00840975
Message ID:
00841057
Views:
21
Michel

Look closely at the SCAN statements you use. If it is just SCAN then you are bringing the whole table across the network. If it is SCAN FOR then make absolutely sure the expression is 100% matched to an index or you may be bringing much or all of the table across the network as well. We were caught a couple of times by doing a SCAN FOR cSurname=UPPER(lcSurname) when the actual index was on UPPER(cSurname) ...

Regards

JR
"... 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
Reply
Map
View

Click here to load this message in the networking platform