Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which way is better - one pass or multiple passes?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Which way is better - one pass or multiple passes?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00997427
Message ID:
00997427
Vues:
53
Hi everybody,

I need to update one field in one table and two fields in another table in a batch process. I can not specify criteria in advance to receive a small subset of data. So, I'm thinking, what is better:

retrieve data by small portions, say, 100 records. Make my updates, then save, then proceed. Or retrieve everything, do updates, then do one Save (commit). What do you think is the right approach in this situation?

Keep in mind that I'm using VFP native data for a time being, though I hope to migrate to SQL Server soon.

What would you suggest?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform