随笔分类 -  Oracle

摘要: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 阅读(215) 评论(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 阅读(238) 评论(0) 推荐(0)
摘要:<dataSource type="POOLED"> <property name="driver" value="oracle.jdbc.OracleDriver"></property> <property name="url" value="jdbc:oracle:thin:@localhos 阅读全文
posted @ 2018-12-24 19:47 uuhh 阅读(5070) 评论(0) 推荐(0)
摘要:select * from user_recyclebin where DROPTIME >'2018-12-24 15:14:00'; 阅读全文
posted @ 2018-12-24 15:18 uuhh 阅读(213) 评论(0) 推荐(0)