select * from SYS_TASK_ITTASK t where TO_CHAR(t.fd_itproposetime,'YYYY') = '2018'
select * from SYS_TASK_ITTASK t where TO_CHAR(t.fd_itproposetime,'MM') = '01'
Oracle 获取指定年份或月份的SQL
最新推荐文章于 2021-04-17 01:05:54 发布
select * from SYS_TASK_ITTASK t where TO_CHAR(t.fd_itproposetime,'YYYY') = '2018'
select * from SYS_TASK_ITTASK t where TO_CHAR(t.fd_itproposetime,'MM') = '01'