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
Loading
SenthilkumarPosted Apr 27, 2012, 4:18 AM
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.