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

How to Concatenate Column Value from Multiple Rows into a Single Column?

$
0
0

Hi,

 

I want to concatenate values from multiple rows into a single column in SAP HANA.  Can someone please help me how this can be achieved?

I don’t want to use Cursor.

 

Input Table:

Product No.

Customer No.

Stor_ Name

101

10

Store1

101

10

Store2

101

10

Store3

102

10

Store1

102

10

Store3

 

Output Table

Product No.

Customer No.

Store_Name_Concat

101

10

Store1, Store2, Store3

102

10

Store1,Store3

 

 

 

 

 

Thanks,

Vishnu


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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