Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

XML_Type Data Transfer from Oracle source to Oracle Target table

Hi all,

In my table have one column datatype XMLTYPE and data like this <row id='12' xml:space='pre'><c1>12</c1><c2>23</c2><c3>34</c3><c4>45</c4><c5>56</c5></row>. How can i transfer the data from Oracle to Oracle table. Actually my Output table have XMLTYPE datatype column.

 

Design:
toracleInput --> toracleoutput

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hello,

In your oracle source, you can use EXTRACTVALUE() EXTRACT() and so on.
like 0683p000009M9p6.pngELECT extract(xmltypetest, '/PurchaseOrder/ShippingInstructions')
FROM xmltype_test.

And for target table, tOracleOutput supports Object-->XMLType mapping.

Let us know if it is OK with you.

Best regards

Sabrina