Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SEEK vs SELECT and _TALLY
Message
De
18/09/2000 00:02:51
 
 
À
17/09/2000 11:57:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00417361
Message ID:
00417503
Vues:
33
>>In terms of the fastest SELECT, cursors are generally created the same speed as arrays.
>
>Generally, yes, they are. But just to make sure lurkers understand, a cursor can sometimes be stored on disk, which will make it slower than an array.

Creating an array might cause VFP/Windows to page out to disk, as well.

If you use NOFILTER on the SELECT, you're going to get a disk file for sure, which will generally be slower. Otherwise, if the array and cursor are about the same size, I see little reason why one would ultimately be written to disk, and not the other.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform