MySQL Forums
Forum List  »  Stored Procedures

how to implement rollback if the stored procedure fails after executing few statements
Posted by: vishal bansala
Date: February 17, 2012 09:16AM

Hi all,

I am a new learner of mysql....i want to know that how atomocity can be achieved for an stored procedure....... the procedure which i am trying to write is simple and have few sql statement

the main concern is how can i rollback those statements which have executed before my stored procedure fails......

Please tell me the complete syntax as i am new to mysql.

thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
how to implement rollback if the stored procedure fails after executing few statements
2649
February 17, 2012 09:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.