Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

How to retrieve the results of an EXECUTE IMMEDIATE query call

$
0
0

Hi all,

 

I am creating a procedure within HANA, in which I would like to receive a tablename as input parameter to select some data from the certain table.

The only solution I found, was to use EXECUTE IMMEDIATE and concatenate the tablename to a query string.

 

Unfortunately I have no idea, how to get the result of the query. According to the documentation there must be a "Result Iterator", which can run through the data, but there is no information, how the iterator is called or respectively used.

 

Has anyone experienced EXECUTE IMMEDIATE or another solution to retrieve data from a dynamic table?

 

Thank you and best regards,

Fabian


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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