Commands out of sync; you can't run this command now

Commands out of sync; you can't run this command now
select t1.* from doubleball_temp t1 where not exists (select 1 from doubleballtable t2 where t1.p1=t2.p1 and t1.p2=t2.p2 and t1.p3=t2.p3 and t1.p4=t2.p4 and t1.p5=t2.p5 and t1.p6=t2.p6 and t1.p7=t2.p7)
mysql中执行查询报错怎样才能正确执行
清汉望归鸿 1年前 已收到1个回答 举报

花香满园亭_ 幼苗

共回答了15个问题采纳率:86.7% 举报

如果你在你的客户代码中得到Commands out of sync; You can't run this command now,你正在以错误的次序调用客户函数!
这可能发生,例如,如果你正在使用mysql_use_result()并且在你已经调用了mysql_free_result()之前试图执行新查询.如果你在mysql_use_result()或mysql_store_result()之间试图执行返回数据的2个查询,它也可能发生.
是否可以解决您的问题?

1年前 追问

9

清汉望归鸿 举报

怎么才能让我的sql执行,在db2中是可以执行的
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 18 q. 0.162 s. - webmaster@yulucn.com