Hi
I have a requirement as to find all the tables and columns containing keyword "SELECT" in my database.
I followed forum
9285068
But when i run the below query on 11.0.2g Oracle Database
select table_name,
column_name,
:search_string search_string,
result
from (select column_name,
table_name,
'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
from cols
where table_name in ('TEST')),
xmltable (str columns result varchar2(10) path '.')
/
I get
ORA-29913: error in executing contains callout
ORA-20000: Oracle Text error:
29913. 00000 - "error in executing %s callout"
*Cause: The execution of the specified callout caused an error.
*Action: Examine the error messages take appropriate action.
Please help