Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select SQL vs Copy to Array While... -- Which one wins?
Message
De
30/09/1996 15:54:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00008720
Message ID:
00008904
Vues:
34
>>first
>I was surprised at the results. The table has about 70,000 records. But the Select SQL is noticeably slower.

as u said in another msg it is probably just the slight overhead of the
SELECT itself

>>regarding option 2 - why use an array, u can simply CREATE CURSOR and copy directly into it
>
>Needed to capture the Recno() of the records extracted from the original table. Can't do that with CREATE CURSOR because neither COPY TO nor APPEND FROM support anything but field names.

adding a single REPLACE for the RECNO() takes less code :)

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform