Ik heb de volgende code PRECIES overgeschreven, maar het werkt niet? Ik krijg deze melding:
#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
Ben in de boeken tabel en heb het echt een paar keer opnieuw geschreven LETTER voor LETTER..??
#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
Code:
CREATE PROCEDURE
proc_totaalvoorraad(INOUT totaal FLOAT)
BEGIN
SELECT SUM(voorraad) INTO totaal FROM boeken;
END;//
Ben in de boeken tabel en heb het echt een paar keer opnieuw geschreven LETTER voor LETTER..??