Created
March 3, 2016 10:37
-
-
Save xianxingg/c058c5cc72a6f00e574b to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/15677446/how-to-tweak-listagg-to-support-more-than-4000-character-in-select-query listagg不用做escape(date), 但是xmlagg需要转码, 否则报错: datatype, describeCol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dbms_xmlgen.convert(xmlagg(xmlelement(E, name||',')).extract('//text()').getclobval(),1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment