MySQL Forums
Forum List  »  Stored Procedures

Re: How to join two tables through Select and Call Procedure.
Posted by: Peter Brawley
Date: April 09, 2019 03:44PM

To get the result of a routine within a query, it needs to be a function.

An alternative: define an OUT param in the sproc, pass it a user var for that out param, and use the user var in the subsequent query.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to join two tables through Select and Call Procedure.
606
April 09, 2019 03:44PM


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.