Oracle Contains Query Returning False Positives -


i trying search names in clob field in oracle using contains. know text testing on contains 'joe smith' 1 space in between joe , smith, query works returns records when run it:

select * case_search contains(text, 'joe smith', 1) > 0 

the issue query, 2 spaces between joe , smith, returning text hit text has 'joe smith' 1 space , not 'joe smith' 2 spaces:

select * case_search contains(text, 'joe  smith', 1) > 0 

i can add many spaces in between joe , smith , still returns hit. need add name hit in exact form table in order work later. can explain happening here , how fix it?


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -