Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP vs VB
Message
From
08/12/1999 22:27:58
Patrice Drolet
Logiciels Info-Data Inc.
Québec, Quebec, Canada
 
 
To
08/12/1999 22:02:44
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00300258
Message ID:
00300755
Views:
24
Hi,

I must had that VFP ODBC IS FAST when you know how to use it: do not use functions in the indexes of your tables... A simple UPPER(field) slows down the query a lot: from instantaneous to 5 seconds for a 35k records table for a select of a record where the only WHERE clause was upper(field_name) = 'SOMETHING'. The field name was a 10 caracters fields and the primary key of the table.

So to optimize the queries, no upper (nor DTOS, etc.) in the indexes that the ODBC driver will use to optimize the query.

Patrice
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform