MySQL Forums
Forum List  »  Newbie

Re: Passing an Array/Table to a stored Proc
Posted by: Peter Brawley
Date: June 25, 2014 10:19AM

> (IN tmp TABLE)

?! No such datatype.

> SELECT * FROM tmp;

That tells MySQL to open the the table named tmp, so the sproc parm of that name is useless anyway. As Phillip says, if you know the tabe name, no need to pass it in; if you don't, pass it in and use PREPARE.

Options: ReplyQuote


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


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.