[font="Arial"]Hello,
declare @columncombine
select @columncombine = select id + ',' + lastname + ',' + jobDescription from table
if the values are in a table with those column definitions and you want to concatenate the fields
with column titles:
select Id as 'Id', LastName as 'Last Name, JobDescription as 'Job Description,
id + ',' + lastname + ',' + 'jobDescription' as 'Id, LastName, JobDescription
from table
I hope this helped.
Regards,
Terry
[/font]