用oracle算出2008年6月 20190727 这两个相差多少个月?
微信里点“发现”,扫一下
二维码便可将本文分享至朋友圈。
select months_between(date'2008-06-01',date'2019-07-27') days from dual;
https://www.cnblogs.com/WangShuaishuai/p/9150203.html
select months_between(to_date('20190727','yyyymmdd'),to_date('2008年6月','yyyy"年"mm"月"'));