Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with SQL queries
Message
From
09/04/2004 14:20:18
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00893534
Message ID:
00893651
Views:
26
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'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform