Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bad performance
Message
 
 
À
29/01/2002 14:16:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00612305
Message ID:
00612364
Vues:
31
>Thanks Sergey -
>
>If we remove the alltrim() and set exact does not come into play, how can we assure ourselves of an exact match? ANy ideas?
>
>Great input as always
>
Hi Larry,

You can change
ALLTRIM(b.TRANNUMBER) = ALLTRIM(m.trannumber) 
to 
b.TRANNUMBER = PADR(m.trannumber, LEN(b.TRANNUMBER ))

and 

ALLTRIM(PRO_SCHT.SPFLAG)="*" 
to 
PRO_SCHT.SPFLAG = PADR("*", LEN(PRO_SCHT.SPFLAG))
It's possible to simplify those conditions based on your tables layout.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform