Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with SQL queries
Message
De
09/04/2004 14:20:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00893534
Message ID:
00893651
Vues:
24
Sorry, Sergey but i see this many times.

First, using ALLTRIM() make your query not Rushmore optimizable.


This is not true. VFP, if a index exist, optimize ALLTRIM().
CREATE CURSOR aaa (bbb c(10) DEFAULT STR(RECCOUNT()))
FOR i=1 TO 100
APPEND BLANK
NEXT
INDEX ON ALLTRIM(bbb) TAG myTag
SET deleted OFF
SYS(3054,11)
SELECT * from aaa WHERE ALLTRIM(bbb)=='12'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform