MySQL Forums
Forum List  »  Newbie

Re: Getting Error 1064(42000) when trying to do transaction processing in MySQL
Posted by: Barry Galbraith
Date: May 30, 2015 09:50PM

Each is a separate statement.

mysql> START TRANSACTION;

mysql> INSERT INTO ServicePlans(PlanID,PlanName,PlanDescription,PlanPrice,DiscountedPrice)
    -> VALUES('C1001','TeleComm Course','Course on Telecommunications',45.00,35.00);

mysql> COMMIT;

Good luck,
Barry.

Options: ReplyQuote




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.