MySQL Forums
Forum List  »  Stored Procedures

Re: Stored procedure with variable table name
Posted by: Peter Brawley
Date: May 02, 2017 09:51AM

Select the desired column, not '*'.

formSecret (presumably the name of the column) needs to be an input param.

And the stmt needs to assign the result to the OUT param.

To debug the sproc as you fix it, add in Select stubs to show variable values.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Stored procedure with variable table name
70
May 02, 2017 09:51AM


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.