Вопрос

So i am reading an XML file from request note of flow. And need to convert XML data to blob.

Это было полезно?

Решение

Try something like this:

CAST( MYLITTLESTRING AS BLOB CCSID InputRoot.Properties.CodedCharSetId)

Другие советы

If you receive messages from both ASCII and EBCDIC based platforms you should include a CCSID often based on the inbound messages CodedCharSetId.

DECLARE StaticValueBlob BLOB CAST('StaticValue' AS BLOB CCSID InputRoot.Properties.CodedCharSetId);  

If you are looking to get the whole XML document as a BLOB then you will want to use the ResetContentDescriptor Node instead.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top