Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Google-like queries in FoxPro apps
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00624182
Message ID:
00624305
Vues:
16
Claude,

I can't imagine that spending the time to UPPER() megabytes worth of memos and then to use ATC() on top of that would be faster than just using atc() alone. I don't really have an adequate test table to try these tests:

atc( "searchphrase", memofield )
atc( "SEARCHPHRASE", memofield )
atc( "searchphrase", lower( memofield ) )
atc( "SEARCHPHRASE", upper( memofield ) )
at( "searchphrase", lower( memofield ) )
at( "SEARCHPHRASE", upper( memofield ) )
"searchphrase" $ lower( memofield )
"SEARCHPHRASE" $ upper( memofield )

>For some reason UPPER makes it speedier unless something has changed in VFP 7
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform