Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Begin Transaction vs Bufferring
Message
De
05/12/1998 04:01:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00164323
Message ID:
00164418
Vues:
22
>Can someone give me a clear answer. When is it more appropriate to use
>Begin Transaction .... End Transaction vs Bufferring .. TableUpdate

Table buffering will only take care of individual tables one at a time
Transactions OTOH locks the records it processes

combining both you can implement a two-phase commit
Do a tableupdate for all the related tables inside a transaction and if one fails you can ROLLOVER the whole transaction

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

Click here to load this message in the networking platform