I am trying to create a mysql stored procedure. I successfully created the procedure using the following code:
delimiter $$ CREATE PROCEDURE `myprocedure` (IN var1 DATE) BEGIN <
AND
SHOW CREATE PROCEDURE myprocedure
shows me the procedure that I created.
But a call to myprocedure (2011-05-31);
shows the following error
#1305 - PROCEDURE db.myprocedure does not exist
db is the database where I created the procedure
What mistake am I making?
Can someone help me with this?
database mysql stored-procedures stored-functions
ashu
source share