Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

combining multiple rows

$
0
0
Hello,

I have a delima,  i have a table like lets say

id | data1
1 this
2 that
3 stuff

i want to be able to return this as one row with the data from data1 in one column inside colons each seperated by commas.

so the result would be

1 Column
'this', 'that', 'stuff'

can anyone help me with this.

Thank you,

rams

ram


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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