select wmsys.wm_concat(ACTIVITYCODE) as CustActivity from BO_CUSTACTRIGHTSSURVEY c GROUP BY c.CUSTCODE