oracle查詢不含括號及不含指定字符的方法建站知
導讀:1建站知識這篇文章主要介紹了oracle查詢不含括號及不含指定字符的方法,需要的朋友可以參考下高端網站建設seo網站優化培訓。
oracle查詢不含括號不含指定字符的營銷型網站建設記錄方法如下:
with tmp_t as( select 1 as id,'測試4321_CS' as name from dual union all select 2,'測試 1200(測試版)' from dual union all select 3,'測試123(測試版)' from dual union all select 4,'測試 1212(D2)' from dual union all select 5,'測試 1212(D2)測試版' from dual union all select 6,'測試 123' from dual) select * from tmp_t where instr(name, '_CS') = 0 and regexp_instr(name, '(.*)') = 0 and regexp_instr(name, '\(.*\)') = 0
結果為:
其中regexpseo網站優化培訓_instr為Oracle支持的正則表網站建設達式函數,其功能與instr相似。此處匹配了含有括號()和()的記錄。
相關高端網站建設seo網站優化培訓。聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-22 ,文章oracle查詢不含括號及不含指定字符的方法建站知主要講述不含,括號,oracle查詢不含括號及不含指定字符的方網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_4427.html