-20412 SERIALIZATION OF AN XML VALUE RESULTED IN CHARACTERS THAT COULD NOT BE REPRESENTED IN THE TARGET ENCODING
Explanation
Serialization of XML data may require conversion to an encoding different from the source UTF-8 encoding. If characters exist in the source encoding that cannot be represented in the target encoding, code page conversion produces substitution characters which are not allowed in the result of XML serialization.
System action
The statement cannot be processed.
Programmer response
Choose a target encoding that can represent all characters in the XML value. Unicode encodings are recommended as they can represent all characters.
SQLSTATE
2200W