`
abidsky
  • 浏览: 9158 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

oracle 使用备忘

阅读更多
1. oracle函数 decode代替方案
select decode(islock,'n',1,'y',2) as ab from  table
select (case when isLock='N' then 1 else 2 end) as ab from  table
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics