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

Re: SQL Script in HANA: Access row of table

$
0
0

Hi Haehner,

Yes, I used the cursor to loop over my table entries. However I want to append these into a new table.

How can I repeatedly insert into a same table?

 

say, result:

(tab is populated from cursor row)

result = select * from :result

               union Select * from :tab;

 

Here I would get an error on the first line - I want to do this inside a for loop and keep adding entries to result table.


Regards,

Shalini


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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