Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Branko, thank you for your answer. Based on @carlos' comment can you also tell me how to implement this in a transaction? Commented Jun 24, 2013 at 10:52
  • @Emin Well, you can start the transaction, do all the necessary operations, then commit the transaction at the end. The transaction is atomic, so you can't end-up with partial results in the database (due to a bug or a power cut, for example). How exactly to start and commit a transaction depends on your client language / library of choice, but I'm sure it's clearly documented there... Commented Jun 24, 2013 at 14:39