Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select VFP vs SQL Server
Message
De
05/06/2015 13:03:31
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
18/09/2014 08:05:42
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01607580
Message ID:
01620674
Vues:
74
>>Not so. This is a very simple thing I posted above. In such a simple case, the other cases would be handled differently. You'd need strings bigger than 100 chars before len would be slower and then for all the people who say m. is not important, the differences are not important enough to suggest that doing the conditional check in the loop is better most of the time.
>
>I still wonder why would
>
>>lcString = left(m.lcString,len(m.lcString)-1)
>
>be better than
>
>lcString = trim(m.lcString,1, ',')

This version of trim is not in vfp8.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform