Comments - Execute Immediate in a Stored Procedure

1 month, 3 weeks ago Daniel Black

EXECUTE IMMEDIATE, whether in a stored procedure or not, can only handle a single SQL statement. It cannot handle two inserts as you have set @STMT to.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.