Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Begin Transaction - when?
Message
De
18/01/2000 17:00:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00319637
Message ID:
00319639
Vues:
13
>Now my question: When I want to make a Begin Transaction - End Transacation, do I have to Begin the transaction before I make the changes to the buffer, or just before I do the Tableupdate ?

Before the TableUpdate(). The transaction can be rolled back if something bad happens. Putting data in the buffer is already revertable, so when you commit you want the ablility to rollback too, and thats what the transaction is for.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform