You have an error in your SQL syntax when creating a procedure. MYSQL -
When I try to make a process, I get that error. I do not know whether it has failed and if someone There is a single error in comparison to me, but I make a mistake on the delimiter, and I think I have his right.
"There is an error in your SQL syntax, check the manual related to your MySQL server version for the correct syntax for near use ') SELECT SUM (robatori.quantitat_robada) from Robotry WHERE param1 = My question is next: Thank you to all, this is my first question here. : You are missing the length for the input code on Change it like the following: As you have the only statement to execute, the VARCHAR
DELIMITER // processing robotir making (at work (255) SELECT SUM (robatori.quantitat_robada) from robotry Where param1 = jugador_ladre; // DELIMITER;
BEGIN -
END block was optional.
But it is advisable to practice it in all cases.
DELIMITER // CREATE PROCEDURE ROBATORY (Ultimate 1 VARCHAR (255)) Start (robatori.quantitat_robada) from Robotry WHERE param1 = jugador_ladre; End; // DELIMITER;
Comments
Post a Comment