Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

Re: Nested Procedure calls in HANA

$
0
0

Think about how you retrieve results from your procedures.

Usually you define output parameters.

 

As you must bind these parameters to variables when you call them (e.g. call myproc (:in_val1, :in_val2, :ret_val1, :ret_val2)) you already have the parameter results ready to be fed into the next command call.

 

If your procedure only produces a default result set you can also assign it to a table variable.

 

In effect this is what happens with stacked scripted calculation views - the output parameters of the first called procedure get bound to the input parameters of the subsequently called procedures.

 

 

- Lars


Viewing all articles
Browse latest Browse all 3189

Trending Articles



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