I have been working on a meta table which is an integration of 3 tables (with same database structure but column names might be different) and I have to write a function which should check if the column has a function(to_Char()) on them. There are many columns as well. So the syntax has to be generalized to search all the columns that has to_char function is written or not.
Example:
CONONICAL DB1 DataType DB1 Function DB1 DB2
CUSTOMER_TABLE customer_tb Table CUSTOMERS Table
CUSTOMER_ID Cust_id number to_char(cust_id) cust_id number
CUSTOMER_NAME Cust_name varchar2(20) cust_name varchar2(20)
CUSTOMER_ADDRESS Cust_address varchar2(20) cust_add varchar2(20)