MySQL Forums
Forum List  »  Newbie

Passing an Array/Table to a stored Proc
Posted by: Joey JJ
Date: June 24, 2014 02:41AM

Hi, I couldn't find anything online regarding this.

If I generate an Array in Python/php, etc how can I pass the entire contents to a stored procedure in one go?

i.e. I want to

call the Stored Proc once
pass in all variables
perform a set of tasks

So I just want to run something like


CALL `TasksOnArray`(IN Array Table);

I believe this is possible in MS SQL by passing the array as a Table Type, but I'm less familiar with mySQL.

Thanks

Joey

Options: ReplyQuote


Subject
Written By
Posted
Passing an Array/Table to a stored Proc
June 24, 2014 02:41AM


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.