Hi,
I want to ask how would I concatenate multiple columns of a row into a single row or string?
Ex:
FirstName LastName Country
John Cruz Philippines
Result:
John,Cruz,Philippines
I just need it now..
help help..
thanks
MS Sql Concatenate multiple columns of a row into a single row or string
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

SenthilkumarRank #387 · 6.5K reputationPosted Apr 27, 2012, 12:18 AM EDT
It is simple and you can concatenate the result as single column.
SELECT FirstName+','+LastName+','+Country AS [Result] FROM table_name
Try this and let me know.