Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Buffering, Pessimistic & Optimistic locking and suc
Message
From
14/12/2006 07:10:20
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01177438
Message ID:
01177529
Views:
10
>Mike,
>
>Thanks for your response. Based on your code, what would happen if the update on alias1 was successful and update on alias2 failed?
>
>For instance in my case:
>
>alias1 = inventory table
>update is successful and the alocated and/or onorder fields are updated based on amount ordered on the new detail records.
>
>alias2 = detail table
>update fails and new detail records are not added.
>
>It appears that inventory alocated would be increased by amount on detail records that are not present.
>
>Would that be the end result?

Everything in the transaction is undone when ROLLBACK fires.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform