Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Rushmore on Varchar Fields?
Message
From
08/06/2005 15:06:52
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01021536
Message ID:
01021562
Views:
24
>Can anyone see why Rushmore optimization is NONE on the following demo code? When EXACT is off, I get a "cartesian product" message for Rushmore. This happens when joining 2 tables on a fields that are varchar data types. Note that I am alernately using the = or == in the SQL commands. This looks like a potential bug to me.

Your SET(ANSI) is OFF.
With this setting, any "=" in SQL command is not optimizable.

This is by design,
because VFP don't store the varchar lenght into the index key,
consequently it cannot distinguish "A" and "A ".
Previous
Reply
Map
View

Click here to load this message in the networking platform