oos-utils icon indicating copy to clipboard operation
oos-utils copied to clipboard

Overload listagg to work with clobs

Open rimblas opened this issue 8 years ago • 1 comments

Or add a new listagg_clob like the Carten's code outlines. http://sql-plsql-de.blogspot.de/2014/01/sql-listagg-mit-clob-ausgabe-kein.html

rimblas avatar Aug 26 '16 16:08 rimblas

This function can also be implemented as follows: select XMLCAST(XMLAGG(XMLELEMENT(t, f_field || ',') order by f_field) AS CLOB) s_aggregate FROM t_table

antonellyb avatar Nov 21 '17 15:11 antonellyb