MySQL Forums :: Stored Procedures :: Problem with creating a stored procedure


Advanced Search

Re: Problem with creating a stored procedure
Posted by: Barry Galbraith ()
Date: April 19, 2012 08:47PM

The refman shows me you need to set DELMITER to something other than ; before defining the PROCEDURE.
Then you need the procedure name,
any parameters,
BEGIN,
SQL statement(s)
END
close using the new delimiter.
Then restore ; as DELIMITER

It looks like you haven't set DELIMITER, and have no END to match your BEGIN.

Fix those up, and try again.

Good luck,
Barry.

Options: ReplyQuote


Subject Views Written By Posted
Problem with creating a stored procedure 1665 Mike Markgraf 04/13/2012 03:08PM
Re: Problem with creating a stored procedure 875 Rick James 04/15/2012 11:43PM
Re: Problem with creating a stored procedure 860 Mike Markgraf 04/19/2012 04:20PM
Re: Problem with creating a stored procedure 890 Peter Brawley 04/19/2012 04:46PM
Re: Problem with creating a stored procedure 862 Mike Markgraf 04/19/2012 05:56PM
Re: Problem with creating a stored procedure 861 Barry Galbraith 04/19/2012 08:47PM
Re: Problem with creating a stored procedure 888 Mike Markgraf 04/19/2012 11:35PM
Re: Problem with creating a stored procedure 1068 Mike Markgraf 04/19/2012 11:50PM
Re: Problem with creating a stored procedure 874 Barry Galbraith 04/21/2012 06:03AM
Re: Problem with creating a stored procedure 745 Mike Markgraf 04/21/2012 10:37AM
Re: Problem with creating a stored procedure 893 Rick James 04/21/2012 12:57PM
Re: Problem with creating a stored procedure 796 Mike Markgraf 04/21/2012 10:17PM
Re: Problem with creating a stored procedure 773 Rick James 04/22/2012 11:16PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.