In Oracle SQL there is this workaround using XMLAGG instead of LISTAGG when the resulting text would be too large for VARCHAR2 (error message: ORA-01489 Result of stri
ORA-01489 Result of stri