MySQL Forums
Forum List  »  Stored Procedures

Re: SQL Query with variable name table in Stored Procedure using MySql 8 version
Posted by: Mark Sunderland
Date: April 09, 2021 11:29PM

this is the error

MySQL 1064 Error: You have an error in your SQL syntax check the manual that corresponds to 
your MySQL server version for the right syntax to use near `pname` = '",pname,'\',contents,NULL)) AS `', pname, '`')

Options: ReplyQuote




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.