Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE PROCEDURE ADD_COMMIT2 (IN a INT,IN b DATE,IN c INT,IN d,INT(11))
- BEGIN
- INSERT INTO `Commit` (`programmer`, `date`, `new`,`del`) VALUES (a,b,c,d)
- ON DUPLICATE KEY UPDATE `new` = `new` + c,`del`=`del` + d;
- END;
- #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement