title: How i can do Rollback insert and Delete statements executed
body: <p>Hi I have lot of delete statements followed by lot of insert statements.
  How i can do rollback of all statements in case of any failure happening during any statement execution .
  Ex : i have 10 delete statements and followed by 10 insert  statements . If my last insert statement failed i need to roll back all delete and insert statements happend . Which would be the easiest way to achieve this ?</p>