problème procédure stockée
Posté : 09 juin 2006, 15:14
Je travail sous mySQL 5 et je voudrais créer une procédure stockée.
La voici :
MySQL 5 me répond :
Avez-vous une idée merci.
La voici :
Code : Tout sélectionner
create procedure PS_InsertDJ (in Jdate char(10), in dj int)
begin
insert into DEMIJOURNEE values (Jdate,dj);
end
Code : Tout sélectionner
#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 'insert into DEMIJOURNEE values (Jdate,dj)' at line 3