Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I optimize this SELECT (SQL) command?
Message
De
10/06/2010 18:15:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/06/2010 10:37:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01468242
Message ID:
01468394
Vues:
39
>Hi,
>
>>The "%" sign may be at the beginning, or at the end; therefore, Visual FoxPro can't optimize the query with an index. That is, an index on field REFN can't be used.
>>
>
>In my case, the % is always at the end.

According to what Naomi says in another message, in this case VFP 9 is intelligent enough to optimize. (I didn't know that.)
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform