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 1088 Mike Markgraf 04/13/2012 03:08PM
Re: Problem with creating a stored procedure 582 Rick James 04/15/2012 11:43PM
Re: Problem with creating a stored procedure 554 Mike Markgraf 04/19/2012 04:20PM
Re: Problem with creating a stored procedure 575 Peter Brawley 04/19/2012 04:46PM
Re: Problem with creating a stored procedure 553 Mike Markgraf 04/19/2012 05:56PM
Re: Problem with creating a stored procedure 546 Barry Galbraith 04/19/2012 08:47PM
Re: Problem with creating a stored procedure 549 Mike Markgraf 04/19/2012 11:35PM
Re: Problem with creating a stored procedure 752 Mike Markgraf 04/19/2012 11:50PM
Re: Problem with creating a stored procedure 603 Barry Galbraith 04/21/2012 06:03AM
Re: Problem with creating a stored procedure 501 Mike Markgraf 04/21/2012 10:37AM
Re: Problem with creating a stored procedure 611 Rick James 04/21/2012 12:57PM
Re: Problem with creating a stored procedure 522 Mike Markgraf 04/21/2012 10:17PM
Re: Problem with creating a stored procedure 536 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.