Skip navigation links

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 1030 Mike Markgraf 04/13/2012 03:08PM
Re: Problem with creating a stored procedure 552 Rick James 04/15/2012 11:43PM
Re: Problem with creating a stored procedure 521 Mike Markgraf 04/19/2012 04:20PM
Re: Problem with creating a stored procedure 543 Peter Brawley 04/19/2012 04:46PM
Re: Problem with creating a stored procedure 513 Mike Markgraf 04/19/2012 05:56PM
Re: Problem with creating a stored procedure 513 Barry Galbraith 04/19/2012 08:47PM
Re: Problem with creating a stored procedure 513 Mike Markgraf 04/19/2012 11:35PM
Re: Problem with creating a stored procedure 719 Mike Markgraf 04/19/2012 11:50PM
Re: Problem with creating a stored procedure 571 Barry Galbraith 04/21/2012 06:03AM
Re: Problem with creating a stored procedure 475 Mike Markgraf 04/21/2012 10:37AM
Re: Problem with creating a stored procedure 572 Rick James 04/21/2012 12:57PM
Re: Problem with creating a stored procedure 495 Mike Markgraf 04/21/2012 10:17PM
Re: Problem with creating a stored procedure 509 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.