Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Simulate common table expression in HANA SQL Script

$
0
0

Hi,

 

I need to simulate a recursive query in HANA stored Procedure.

I know that HANA does not support CTE, so how would I do this?

 

I looked at all the discussion posted, but I don’t see any viable solution at all.

 

Is there any way I can do this without creating other tables to load and unload data as in examples I've seen.

 

For example, if I have a table that contain Employee/Manager relationship.  I need to count number of employees under a manager when a manager number is given.  How can I accomplish this?

 

Thank you for your help in advance.

 

Hyun Grasso


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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