Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to check memo field for a string
Message
 
 
To
07/07/2009 14:52:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01410639
Message ID:
01410666
Views:
48
>>>I just tested this a few times and switched the order around. It appears you are correct. While the time changes depending on whether it is first, 2nd, 3rd, etc in the order (OCCURS() versus $ etc), $ does seem to be consistently the fastest.
>>
>>In Boris tests OCCURS() was the winner over $.
>
>:-)
>No way!
>
>? [$], SECONDS()-m1                   && 0.045
>? [OCCURS], SECONDS()-m1       && 0.284
>
Yes, now I see that I misread. You're right, $ is the fastest here in native functions.

I was thinking we may try API solution, but when I was ready to research I was interrupted. But we repaired tables using CmRepair - it was my first time trying it.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform