我希望动态sql在mysql中创建一个存储过程。stmt1 from @sql;deallocate prepare stmt1;
但是,当我调用过程You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version所以问题是,
我正在使用Aqua Data Studio20.6创建一个MySQL存储过程。SELECT ObjectID INTO objid FROM images WHERE ProNumber = prono AND DocType = imgtype LIMIT 20;
END 当我尝试创建存储过程时,我收到以下错误消息: You have an error in your SQL syntax; check the manual that corresponds to y