Oracle解決"易語言難題"
來源:懂視網(wǎng)
責(zé)編:小采
時間:2020-11-09 16:12:16
Oracle解決"易語言難題"
Oracle解決"易語言難題":Oracle 10g以上的版本 Oracle select T.* from (select Rownum as A,2*Rownum B,3*Rownum C from dual connect by level999) Twhere T.A =123 AND T.C 999--借用PHP小三哥的正則表達式and not REGEXP_LIKE(TO
導(dǎo)讀Oracle解決"易語言難題":Oracle 10g以上的版本 Oracle select T.* from (select Rownum as A,2*Rownum B,3*Rownum C from dual connect by level999) Twhere T.A =123 AND T.C 999--借用PHP小三哥的正則表達式and not REGEXP_LIKE(TO
Oracle 10g以上的版本 Oracle select T.* from (select Rownum as A,2*Rownum B,3*Rownum C from dual connect by level999) Twhere T.A =123 AND T.C 999--借用PHP小三哥的正則表達式and not REGEXP_LIKE(TO_CHAR(A)||TO_CHAR(B)||TO_CHAR(C), '1.*?1|2.*?2|
Oracle 10g以上的版本
Oracle
$velocityCount-->
select T.* from
(select Rownum as A,2*Rownum B,3*Rownum C from dual connect by level<999) T
where T.A >=123 AND T.C < 999
--借用PHP小三哥的正則表達式
and not REGEXP_LIKE(TO_CHAR(A)||TO_CHAR(B)||TO_CHAR(C),
'1.*?1|2.*?2|3.*?3|4.*?4|5.*?5|6.*?6|7.*?7|8.*?8|9.*?9|0', 'i')
聲明:本網(wǎng)頁內(nèi)容旨在傳播知識,若有侵權(quán)等問題請及時與本網(wǎng)聯(lián)系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
Oracle解決"易語言難題"
Oracle解決"易語言難題":Oracle 10g以上的版本 Oracle select T.* from (select Rownum as A,2*Rownum B,3*Rownum C from dual connect by level999) Twhere T.A =123 AND T.C 999--借用PHP小三哥的正則表達式and not REGEXP_LIKE(TO