Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No Rushmore on Varchar Fields?
Message
De
08/06/2005 15:06:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01021536
Message ID:
01021562
Vues:
23
>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 ".
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform