Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select alltrim(lname) is 10x longer than select lname
Message
De
17/08/2006 12:01:43
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
17/08/2006 11:57:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01146381
Message ID:
01146420
Vues:
33
>you're right, mike. it is the source of the combobox. however, the query itself (without populating the combobox) is what is taking a long time. i mentioned the combobox to see if there would be a way, after doing a select without alltrim, to populate the combobox and trimming there (thinking that might be faster).
>
>it's a table with about 2000 records (certainly not big) but is ran over a network. nevertheless, the time difference is still 10x (both queries are run over the same network).

Hi Paul

Try the timings anyways. If you don't use NOFILTER, VFP does a SET FILTER TO. It will then have to pass through that record set to populate the combo and that may be slower. With NOFILTER that process may be faster. So the two things will combine to produce a potentially visible delay for the user. One of the two approaches will be faster overall.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform