帮忙看上一个 sql 语句吧 。

帮忙看下一个 sql 语句吧在线等。。。。。。。。。update agencypartreply set case isnew when 0 then 1 when 1 th

帮忙看下一个 sql 语句吧 在线等。。。。。。。。。
update agencypartreply set case isnew when 0 then 1 when 1 then 2 end

这个sql 语句为什么不能执行呢?

[解决办法]
update agencypartreply set isnew=case isnew when 0 then 1 when 1 then 2 end