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

string_agg

$
0
0

Hi All,

 

I'm having issues using the string_agg function

 

'''value1'',''VALUE2'''

 

All values with in 2 single quotes seperated by comma and start and end with a single quote

 

 

I tried something like this

SELECT STRING_AGG("CODE",''',''') as code from (..select "code" from table)

 

 

O/p is value1,'value2

 

Is there is way to achieve this

 

Thanks


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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