Message from: MThomas
Our objective is to write the values of the below XML sample to a table. Can
anyone assist us with a syntax sample of how to accomplish this?
Thanks in advance!
Mike
N51
465
Party_Giving_Consent_Modifications
NA
N51
465
Prior_Consent_Required_for_Modification_of_Current_Loans
LISA_Field_Name >
Not Required
We can read it using the below method, but we don’t know how to write them
to the table:
pin_submit_xml IN XMLTYPE
SELECT EXTRACTVALUE (VALUE ( node ), ‘/ROW_DATA/VALUE1’ ) val1,
TO_NUMBER ( EXTRACTVALUE (VALUE ( node ), ‘/ROW_DATA/ NOTES’ ) notes
FROM (SELECT pin_submit_xml AS input_xml FROM DUAL ),
TABLE(XMLSEQUENCE ( EXTRACT ( input_xml , ‘/DATA_FROM_CLIENT/ROW_DATA’
))) node ;
AAA
aerasdf
BBB
dsfdsfd
Historical Messages
Author: Mike Thomas
Date: Wed Jun 30 07:24:03 PDT 2010
Our objective is to write the values of the below XML sample to a table. Can
anyone assist us with a syntax sample of how to accomplish this?
Thanks in advance!
Mike
N51
465
Party_Giving_Consent_Modifications
NA
N51
465
Prior_Consent_Required_for_Modification_of_Current_Loans
LISA_Field_Name >
Not Required
We can read it using the below method, but we don’t know how to write them
to the table:
pin_submit_xml IN XMLTYPE
SELECT EXTRACTVALUE (VALUE ( node ), ‘/ROW_DATA/VALUE1’ ) val1,
TO_NUMBER ( EXTRACTVALUE (VALUE ( node ), ‘/ROW_DATA/ NOTES’ ) notes
FROM (SELECT pin_submit_xml AS input_xml FROM DUAL ),
TABLE(XMLSEQUENCE ( EXTRACT ( input_xml , ‘/DATA_FROM_CLIENT/ROW_DATA’
))) node ;
AAA
aerasdf
BBB
dsfdsfd
__