✎
编程开发网
首页
C语言
C++
面试
Linux
函数
Windows
数据库
下载
搜索
当前位置:
首页
->
AI编程基础
->
数据库编程
oracle替换列中null值
2014-11-24 16:08:16
·
作者:
·
浏览:
1
标签:
oracle
替换
null
oracle替换列中null值
1.替换scott表中comm列 用0代替null
www.2cto.com
[sql]
select empno,(case when comm is null then
0 else comm end ) as comm from scott.emp;