Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rushmore, don't get it
Message
De
21/04/2005 11:02:45
 
 
À
21/04/2005 09:49:17
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
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 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01006860
Message ID:
01007032
Vues:
20
>Hi Gregory,
>
>>That's avoiding the index. And that's what I was doing, ie using (j_ref=0) instead of (bintoc(j_ref) == bintoc(0))
>
>Uses the added index on PadR(bintoc(j_ref), 5) tag PadR2c in a few places and works correctly.
>Check with sys(3054) the SQL-Count after switching to "where Padr(bintoc(j_ref), 5) == m.lcZero".
>

Yes, I missed that, sorry. Still, it's a bit odd, though


>>I'm currently testing Cetin's suggestion and I think, although not confirmed yet, that it solves the problem
>I hadn't known about a placement issue. Just be sure to permutate some calls to reindex into your tests <g>.
>Index in "my" solution is slightly longer, but I usually don't trust things working after only reordering code sequences.
>
>regards
>
>thomas

thanks for the interest
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform