Hi All,
I am trying to insert multiple rows using a single insert statement in a stored procedure. The code i am using is like -
set s1 = 'Insert into table_name(x,y) values (?,?),(?,?)';
prepare s2 from s1;
execute s2 using var1,var2,var3,var4;
I am getting an error.
Any advise appreciated...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.