I'm looking for a character that I can use in an Oracle contains to get ALL results.
If I search for the string "test" in a title column I use this statement:
select *
from my_table
where contains (title,
'<query><textquery grammar="CTXCAT">test</textquery></query>') > 0
With this statement I get the rows which have the "test"-string included in title-column.
BUT: Is there any way to use contains and select ALL rows?
The documentation says wildcards with the Oracle Text
CONTAINS()
predicate are%
and_
just like theLIKE
predicate.Does the following work? I don't have an instance of Oracle handy to test.