select *,to_number(to_char(t1.tjrq,'yyyy')) as year from 表 t1
oracle 取date类型字段的年份
猜你喜欢
转载自blog.csdn.net/chenchen879689889/article/details/78742461
今日推荐
周排行