PL/SQL procedure/function to show data from different tables dynamically alongwith the column names in first data row
问题 I have a requirement like below. There are 70 tables and I have to build 70 queries from those 70 different tables depending on some condition. Let us say the table names are TAB_1,TAB_2,TAB_3.....,TAB_70 .The number of columns and data type of the columns are different in each table. I will get user input and I have to pass that value to an Oracle PL/SQL function or procedure GET_RESULT() and get the output in tabular format(same as we get when we run a query). Also, I have to show the