• It can be made simple with the following sql statement

    SELECT REPLACE((SELECT DISTINCT RTRIM(LTRIM(StatusDesc)) AS 'data()'

    FROM dbo.MyStatus

    FOR XML PATH ( '' )), ' ', ', ')