开发者

Passing a prepared statement to a DECLARE CURSOR 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜