摘要: select 'YJ015'quotaCode,CONCAT('00-',to_char(sysdate-1/24,'HH24')) timeQuantum,count(1) quotaPresent from T_INVOICE_HISTORY where INVOICESTATE=1 and A 阅读全文
posted @ 2018-12-25 18:06 uuhh 阅读(210) 评论(0) 推荐(0) 编辑
摘要: select sysdate,sysdate + 1/24 from dual; 加1小时 select sysdate,sysdate - 1/24 from dual; 减1小时 trunc(sysdate-1) 日期截取 2018/12/24 阅读全文
posted @ 2018-12-25 16:25 uuhh 阅读(233) 评论(0) 推荐(0) 编辑