Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Buffering, Pessimistic & Optimistic locking and suc
Message
De
14/12/2006 07:10:20
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01177438
Message ID:
01177529
Vues:
11
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform