cancel
Showing results for 
Search instead for 
Did you mean: 

Alternative of connect by root in HANA

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member184768
Active Contributor
0 Kudos

Hi Sanjeev,

I published a document addressing your requirement. Please check the document and let me know if it works for you.

Regards,

Ravi

Former Member
0 Kudos

Thnx Ravindra. your solution was what i needed.

Answers (0)