![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Oracle
可疼
毛球
展开
-
oracle REGEXP_SUBSTR 函数的使用
select REGEXP_SUBSTR(c630000036,'000000000004775') from t157 REGEXP_SUBSTR() 检索匹配的字符串 eg: select REGEXP_SUBSTR('000000000004770;0000原创 2011-08-26 16:28:16 · 666 阅读 · 0 评论 -
oracle 查询前一小时、一天、一个月、一年的数据
查询一小时 select concat(to_char(sysdate,'yyyy-mm-dd ')||(to_char(sysdate,'hh24')-1),':00:00') start_time,concat(to_char(sysdate,'yyyy-mm-dd原创 2011-09-09 16:36:59 · 4013 阅读 · 2 评论 -
oracle 字符串返回匹配的结果值
例 select substr(substr(c630000036,instr(c630000036,'000000000004775'),length(c630000036)),0,length(substr(c630000036,instr(c630000036,'0000原创 2011-08-25 17:43:33 · 629 阅读 · 0 评论