Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SEEK vs SELECT and _TALLY
Message
 
À
16/09/2000 21:25:34
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00417361
Message ID:
00417366
Vues:
29
Greg,

I'm not sure if I can add to that. Cindy's made just about all the points I would have made, but I'll try anyway:

I'm not sure what you meant by avoiding expression length calculations, so I can't sully understand why you wouldn't always use a seek. Bear in mind that you can scope a seek, so for the equivalent of a '_TALLY>1' you could execute two seeks with the second being scoped for REST.

In terms of the fastest SELECT, cursors are generally created the same speed as arrays. The speed of the SELECT can be enhanced if your selection clause is already indexed. The SELECT will use that index and it will be nearly as fast as a seek.

HTH
I try to stay online, to get better information.
I try to get away from the office once in a while..
But they KEEP... PULLING.. ME.. BACK.. IN!!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform