首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

oracle 轮换列中null值

2012-09-23 
oracle 替换列中null值1.替换scott表中comm列 用0代替nullselect empno,(case when comm is null then 0 e

oracle 替换列中null值

1.替换scott表中comm列 用0代替null

select empno,(case when comm is null then 0 else comm end ) as comm  from scott.emp;

1楼tingshun1989昨天 15:40
nvl不是更好?

热点排行