Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL result different from VFP8
Message
From
22/12/2004 12:37:42
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971482
Message ID:
00971496
Views:
18
Patrick,

In addition to what Fabio said, I believe an index on ALLTRIM will not be used for Rushmore optimization.

HTH,

>I have an SQL command:
>
>SELECT IDNUM FROM CONTDB WHERE UPPER(ALLTRIM(ln)) = 'VOSS'
>
>In VFP8 22 recs returned in .78 secs
>In VFP9 243 recs return in 23.47 secs
>
>The extra records have a blank LN
>
>
>COUNT FOR UPPER(ALLTRIM(ln)) = 'VOSS' shows 22 in both 8&9
>
>I have an index on:
>
>UPPER(ALLTRIM(ln))
>
>Any idea?
Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform