MySQL Forums
Forum List  »  Stored Procedures

Re: Using temp table in Stored procedure help
Posted by: Peter Brawley
Date: May 25, 2020 12:07PM

Read the manual about stored routines and delimiters.

DELIMITER go      -- set delimiter for stored routine creation
CREATE PROCEDURE SP_ExposureByStock()
BEGIN
  ... 
END;              -- terminating semicolon was missing
go                -- delimiter tells mysql proc code ends here
DELIMITER ;       -- restore standard interactive delimiter 

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Using temp table in Stored procedure help
315
May 25, 2020 12:07PM


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.