摘要:
--国内从周一到周日 国外是周日到周六 select to_char(sysdate-1,'D') from dual;--取国内的星期几 去掉减一取国外的星期 --取本周时间内的数据 select * from table where DTIME >=trunc(next_day(sysdate-8,1)+1) and DTIME=trunc(next_day(sysda... 阅读全文
posted @ 2017-08-17 17:36
凌度
阅读(1925)
评论(0)
推荐(0)