标签:ar sp on 2014 bs 时间 as nbsp ca
获取时间格式‘YYMM‘
select extract(year_month from ‘2014-12-05‘)
执行结果:201412
**************************************
case when用法
select a,b,
(case when a>b then a+b end) as c
标签:ar sp on 2014 bs 时间 as nbsp ca
原文地址:http://www.cnblogs.com/rufengboyi/p/4146056.html