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 1025 Mike Markgraf 04/13/2012 03:08PM
Re: Problem with creating a stored procedure 549 Rick James 04/15/2012 11:43PM
Re: Problem with creating a stored procedure 518 Mike Markgraf 04/19/2012 04:20PM
Re: Problem with creating a stored procedure 539 Peter Brawley 04/19/2012 04:46PM
Re: Problem with creating a stored procedure 508 Mike Markgraf 04/19/2012 05:56PM
Re: Problem with creating a stored procedure 507 Barry Galbraith 04/19/2012 08:47PM
Re: Problem with creating a stored procedure 510 Mike Markgraf 04/19/2012 11:35PM
Re: Problem with creating a stored procedure 713 Mike Markgraf 04/19/2012 11:50PM
Re: Problem with creating a stored procedure 567 Barry Galbraith 04/21/2012 06:03AM
Re: Problem with creating a stored procedure 471 Mike Markgraf 04/21/2012 10:37AM
Re: Problem with creating a stored procedure 569 Rick James 04/21/2012 12:57PM
Re: Problem with creating a stored procedure 490 Mike Markgraf 04/21/2012 10:17PM
Re: Problem with creating a stored procedure 507 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.