Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> search for reserved word in Oracle Text
Hi,
Anyone has any idea how to query a reserved word in Oracle Text? I placed an
escape character \ before the reserved word but it did not return the
record.
TIA Ivan
SQL> insert into testtab values (1,'?');
1 row created.
SQL> commit;
Commit complete.
SQL> select text from testtab where contains(text, '\?')>0;
no rows selected
SQL> select text from testtab where contains(text, '{?}')>0;
no rows selected
![]() |
![]() |