设为首页 加入收藏

TOP

oracle decode()
2019-09-17 16:33:29 】 浏览:15
Tags:oracle decode

oracle

  函数中 decode (state,'false','异常','true','正常') status

等价于

  case 

    when  state='false' then '异常'

    when state=‘true’ then  '正常'

    end status

 当 status 为 false 时,获得 异常

 当 status 为 true 时 ,获得 正常

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Hive中笔记 :三种去重方法,dist.. 下一篇oracle sum(col1) over(partition..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目