MySQL Forums
Forum List  »  Stored Procedures

Re: Passing TableName to a Stored Procedure
Posted by: Peter Brawley
Date: June 10, 2022 10:09AM

You need to use PREPARE for dynamic SQL like that, see the manual page for PREPARE.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Passing TableName to a Stored Procedure
58
June 10, 2022 10:09AM


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.