I am looking to find all of the field names and their associated table names where the field value is "x". My company has switched to a new backend DB and it is necessary for me to do a lot of digging and mapping on my own. I am trying to find specific fields based on their values.
For instance if I were to try to find All Tables with field Name LIKE "X" I would use:
select owner, table_name, column_name from all_tab_columns where column_name LIKE '%X%';
I am trying to find the equivalent query to find all Fields with value 'X". I am looking for something like the below query that does not work.
SELECT owner, table_name, column_name FROM all_tab_columns WHERE field_name LIKE '%PTREG%';