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!
精彩评论