Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP vs VB
Message
De
08/12/1999 22:27:58
Patrice Drolet
Logiciels Info-Data Inc.
Québec, Québec, Canada
 
 
À
08/12/1999 22:02:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00300258
Message ID:
00300755
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform