What can be used instead of Listagg?
What can be used instead of Listagg? Answers Use collect or write your own aggregation function. If you are using 8.1.5 and above you can use: Use dbms_lob. Try using XMLAGG like this: select p.PeopleID, rtrim(xmlagg(xmlelement(e, s.SiteName, ‘,’)).extract(‘//text()’).getclobval(), ‘,’) from people p join site s on p.SiteID = s.SiteID group by p.PeopleID; How do you […]