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

Re: Put the query result of "EXECUTE IMMEDIATE" command in a local table

$
0
0

Hi Andila,

 

You can do that as mentioned by peter in the above reply.

 

But why do you want to persist the information into a Table?

 

Also would want to understand if you are having a Varied "select column" list and using EXECUTE IMMEDIATE for the same?

 

if not you can use "EXEC" and then use a local temporary table to hold the result which returns the value to your Table Type which can be further utilized by other procedures calling this procedure.

 

Can you be more clear on the requirement on why you want to do this?

 

Regards,

Krishna Tangudu


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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