select
case
when col1 <= 0 then 0
else col1
end case
from table;
case
when col1 <= 0 then 0
else col1
end case
from table;
解决方案 »
- 导入dmp文件乱码,求大神指点!!!!
- oracle怎么行列转换
- fedora13下安装Oracle10g
- 函数问题,急!!!!在线等
- oracle启动报错.ORA-01033: ORACLE initialization or shutdown in progress
- oracle FORM的数据块问题
- 如何使用vc通过oci调用oracle中的function?
- 用什么SQL语句可以让Oracle中表中的数据按照主键的升序或降序排序
- 在ORACLE中连接和会话有何区别?
- 请教下Orcale用Num统计,查到数据为空的时候怎么返回0啊?
- 大家好,请问大家有没有oracle教程 谢谢
- 一个关于sequence的奇怪问题,急!!!!请大家帮忙啦!!
select decode(sign(a-0),-1,0,a) from table
where 条件