Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

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 3354

Trending Articles