Kishore,
Have you solved the issue? I have the similar question. I tried the approach Florian suggested.
For example, I have 20 tables, I want to select a column from these tables, such as "select * from table_name" where column_name = 'A';
8 throw exception. I want to the names of tables which throw exception saved in the error_log table, the others saved in another table.
the new question after using Florian's suggest is that how to pass the paramter (table_name) into "table_name" in the first procedure where ; select from table_name where column_name = 'A';
The table_name can be passed into error_Log table.
Thank you.