• You can use the following SQL to compose the comma-delimited string, without needed to trim the trailing comma at the end:

    SELECT @MyStatusList = ISNULL(@MyStatusList + ',', '') + StatusDesc FROM (SELECT DISTINCT StatusDesc FROM MyStatus) x