Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Google-like queries in FoxPro apps
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00624182
Message ID:
00624305
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform