Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Begin Transaction vs Bufferring
Message
From
05/12/1998 04:01:47
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00164323
Message ID:
00164418
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform