Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Handling exception in a for loop

$
0
0

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.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>