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

Re: How to use the SQL Procedure to realize the HIERARCHY table spreading?

$
0
0

Hi Lars,

 

Thanks for your reply. I remember it's you that the first person who reply my question in SCN when i'm in my internship. So thank you very much again and glad to see your kindness and passion in SCN Forum.

 

However sorry for my unclear explain. Your reply is very useful and helpfulI. But in this case, we NODENAME in fact, is not a regular string.

Actually we could only use PARENTID,CHILDID and TLEVEL to distinguish the hierarchy table.

 

The actual source table looks like below:

I.png

 

And now the output table should be:

R.png

So maybe the RIP string method is not very suitable.

And the actual source table is in the attachment, that you could refer.

 

Thank you very much again.

 

BRs,

Geoffrey


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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