Oracle text escaping with curly braces and wildcards

后端 未结 1 442
自闭症患者
自闭症患者 2021-01-01 11:08

I want to be able to escape the search criteria in an Oracle text query using contains and combine the escaped criteria with wildcards to have \"doubly truncate

相关标签:
1条回答
  • 2021-01-01 11:35

    How about:

    select * from MY_TABLE where CONTAINS(MY_COL, regexp_replace('*abc*', '([^*])', '\\\1')) > 0
    
    0 讨论(0)
提交回复
热议问题