2018年7月30日

oracle数据库,对每个月份进行分类获取对应月份的对应内容,case...when... 的使用

摘要: select (CASE WHEN to_char(sysdate, 'MM' )='01' then 'A' WHEN to_char(sysdate, 'MM' )='02' then 'B' WHEN to_char(sysdate, 'MM' )='03' then 'C' WHEN to_char(s... 阅读全文

posted @ 2018-07-30 09:29 EastChilde 阅读(556) 评论(0) 推荐(0) 编辑

oracle数据库,增加序列,自增序列,规定位数,不足用0补足

摘要: 阅读全文

posted @ 2018-07-30 09:26 EastChilde 阅读(1232) 评论(0) 推荐(0) 编辑

导航