MySQL Forums
Forum List  »  Newbie

Re: Passing an Array/Table to a stored Proc
Posted by: Joey JJ
Date: June 25, 2014 06:44AM

Thanks for the reply. I understand that there are no arrays in mysql but the result will come from Python in an array. So I had planned to insert into a temporary table, then pass the table to a Proc, like the below.

However the below code gives an error:


CREATE PROCEDURE `new_procedure` (IN tmp TABLE)
BEGIN

	SELECT * FROM tmp;

END

Thanks for any help you can give

Options: ReplyQuote


Subject
Written By
Posted
Re: Passing an Array/Table to a stored Proc
June 25, 2014 06:44AM


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.