I was reading a article that saw rules rollback, commit and begin.
I don’t know these rules what is used?
are there a friend that describe me?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
begin,commitandrollbackcontrols a transaction. Everything done within a transaction is either saved together (throughcommit) or not saved at all (if doingrollback).This can be used if several updates are done which should only get effect if all are successful. If you wrap them in a transaction you can then commit all the changes if they are successful, or rollback all of them if any step along the way fails.
More details can be found in Transactions in MySQL.