The following works fine but there should be a comma (,) after the COMPANY_STATE field: DECLARE @Address VARCHAR(564) SET @Address = ( SELECT STUFF((SELECT ' ' + c.Value + ' ' FROM Constants c WHERE c.Name IN ('COMPANY_ADDR1', 'COMPANY_CITY', 'COMPANY_STATE', 'COMPANY_ZIP') FOR XML PATH(''), TYPE).value('.','VARCHAR(max)'), 1, 1, '') ) SELECT @Address
I have been searching around to find how to add a comma only after the COMPANY_STATE field.Any suggestions are welcomed.Thanks!!