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

Alternative of connect by root in HANA

$
0
0

Dear All,

 

I need the alternative of connect by root in HANA. My requirement is to convert following

 

INPUT:

 

ID           Parent ID      Product

1               2               A    

2               3               B

5               3               C

 

Output

 

ID     Product

1     A

2     A    

2     B

3     A

3     B

3     C

5     C

 

I also tried to implement hierarchies in Attribute view but i think that it can only be consumed in MDX or excel. I want such output in database


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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