Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to concatenate rows into a single column in hana view

$
0
0

Hi Folks,

 

I have a Calculated View.

 

In that i have Order and Status as columns.

 

Order    Status
1            A

1            B

1            C

2           D

2           E

3           F

 

But i need the output as follows..

 

Order        Status

1                A,B,C

2                D,E

3                F

 

 

 

I dont want to use cursors. CTE and functions like LISTAGG() are not compiling in HANA.

 

Do we have any other way like CTE or LISTAGG()  to execute in HANA views. 

 

Any suggetsions are appreciated..

 

 

Thanks..

 

Ram


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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