MySQL Forums
Forum List  »  Stored Procedures

Re: How to use cursor loop with nested stored procedure?
Posted by: Peter Brawley
Date: November 25, 2021 12:28PM

> SELECT proc_sample_recordset('param');

That's a function call, not an sproc call.

Sproc results can't be SELECTed.

And if the function name indicates what you want it to do, it can't---MySQL funcs can return only MySQL datatypes, can't return recordsets or tables.

What's the underlying problem you're trying to solve?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to use cursor loop with nested stored procedure?
174
November 25, 2021 12:28PM


Sorry, only registered users may post in this forum.

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.