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

Re: SAP DBTech JDBC [2048]: column store error: Memory Allocaion Failed Error

$
0
0

Well, table variables are easy to use in SQLScript and actually quite fundamental.

Instead of your

     INSERT INTO #TMP SELECT...

you would assign the statement to ,well, a table variable, e.g.

     myTempData := SELECT ...

 

Your further processing can then access the data via the variable, e.g.

     SELECT bla, blupp, blipp FROM :myTempData WHERE bla < blupp...

 

This and lots more is explained at length in the SQLScript documentation (actually built-in SAP HANA Studio and the WebIDE...).

 

Other than that, I suggest you take a good look at the amount of data your code is supposed to work on and check if this can fit into your SAP HANA instance.

 

- Lars


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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