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
307
June 10, 2022 10:09AM


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.