Skip to content

Instantly share code, notes, and snippets.

@bashkirtsevich
Created April 7, 2017 10:25
Show Gist options
  • Select an option

  • Save bashkirtsevich/cee3d9fc24fa0375dac23074b5dfc162 to your computer and use it in GitHub Desktop.

Select an option

Save bashkirtsevich/cee3d9fc24fa0375dac23074b5dfc162 to your computer and use it in GitHub Desktop.
Oracle load XML long character value and replace html escaping («"»)
with t
as
(
select '"ю1"' as dummy from dual
)
select
dbms_xmlgen.convert(xmlagg (
xmlelement (
e,
t.dummy
, '.').extract('//text()') ).getclobval(),1) as col_v
from t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment