Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UDF's second rate citizen in Rushmore ?
Message
De
10/09/2006 16:56:58
 
 
À
10/09/2006 10:54:30
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01151219
Message ID:
01152671
Vues:
57
>So explain the rule so it's simple. DNA is only 4 base pairs and they only connect 1:1 yet the diversity is incredible. Lego also is simple, yet the possibility to construct is only limited by imaginiation. Hardly dumbed down.
>

Hi Mike,

That may not be possible. What seems simple for one person may seem very complex or even impossible to understand for another.

In order for an index to be used for a Rushmore optimization, an index expression should match an expression in WHERE. The word match doesn't mean that the text of the expressions, as they are written, has to be exactly the same or their byte code has to be exactly the same. It rather means that the result of executing both expressions for the same record is the same. To perform the comparison, VFP uses complex routine that ignores insignificant differences between expressions - the differences that do not cause differences in results.

In some scenarios, there may be other requirements that also should be met. For example, collate sequence of the index should match current collate sequence, table's code page should match current code page, etc.

I've tried to explain the rule, it is up to you to decide whether it is a simple rule.

Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform