vf 中将null 替换成想要的数值或0

前提条件是该字段是数值型或是货币型

查询命令:

select * from 表名  where 字段名 is NULL

编辑命令:

update 表名 set 字段名 = 数值 where 字段名 is NULL

  

posted @ 2014-03-30 19:50  寂寞无语  阅读(447)  评论(0)    收藏  举报