sql="update tb1 set xxx=vvv where id=nnn;update tb1 set xxx=www where id=kkk;"
cursor.execute(sql)
然后就会报这个错误:
Commands out of sync; you can't run this command now
解决:
以后研究
sql="update tb1 set xxx=vvv where id=nnn;update tb1 set xxx=www where id=kkk;"
cursor.execute(sql)
然后就会报这个错误:
Commands out of sync; you can't run this command now
解决:
以后研究