General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only