update 表名
set 字段名=
case
when 字段名 is NULL  then 10
else 字段名 + 10
end
 WHERE MVMSCODE='0112'
posted on 2006-09-18 15:25    阅读(1416)  评论(0)    收藏  举报