开发者

Passing a prepared statement to a DECLARE CURSOR in mysql

开发者 https://www.devze.com 2023-04-03 05:33 出处:网络
When I prepare sql query how can I pass this query to DECLARE _cname CURSOR FOR _query? Can I simply replace _query to my prepared statement in MySql??

When I prepare sql query how can I pass this query to DECLARE _cname CURSOR FOR _query?

Can I simply replace _query to my prepared statement in MySql?? Is that happen without calling 开发者_运维知识库EXECUTE stmts USING @v;

Please help me to pass prepared statement TO DECLARE _C CURSOR SQL_STMT !!! Is that possible at all?

Thanks in advance!

0

精彩评论

暂无评论...
验证码 换一张
取 消