MySQL Forums
Forum List  »  Stored Procedures

Re: Which is best way for optimize performance of the query while using in Stored Procedure
Posted by: Rick James
Date: January 01, 2016 12:29AM

What application language are you calling them from?

SELECT ... INTO variable -- this can only deliver _one_ value into "variable". So don't try to send a resultset out via an OUT parameter. Instead, do like your sample1 and treat the procedure like a SELECT that might return multiple rows.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Which is best way for optimize performance of the query while using in Stored Procedure
895
January 01, 2016 12:29AM


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.