sql改mysql怎么改,我是菜鸟

update WEB_B2C_Comment set isAudit=0 where ID in (0)

这句在mysql怎么改

这语句mysql没什么问题。
看看是不是safe mode没关的问题


    SET SQL_SAFE_UPDATES=0; 

你输出一下最终执行的sql语句是什么,错误提示如下,为什么后边还多了个update WEB_B2C_Comment 这个呢

     update WEB_B2C_Comment set db.isAudit=0 where ID in (0) update WEB_B2C_Comment

db.isAudit,,我只想知道db是什么,,

有手册啊,翻手册,看看两方的语法差异,RTFM(Read the fucking manual)

这样应该直接能跑的

 update WEB_B2C_Comment set isAudit=0 where ID in (0);