Oracle数据库常用函数(4) 最新更新| 软件分类| 专题汇总| 手机版

您所在的位置:首页 > Oracle数据库常用函数(4) > 信息评论 >

Oracle数据库常用函数(4)

  68. pl/sql中的case语句  select (case when DUMMY='X' then 0 else 1 end) as flag from dual;  case的第1种用法:  case col when 'a' then 1  when 'b' then 2  else 0 end  这种用法跟decode一样没什么区别  case的第2种用法:  case when

网友评论

发表评论

(您的评论需要经过审核才能显示)