帮忙看下一个 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
帮忙看下一个 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