I am trying to update some data in XML column. Input data is coming from file.
I wrote this SQL in COBOL program.
Here is my SQL.
EXEC SQL
UPDATE COMFIL.FORM
set Form_Data_xml =
xmlquery('trans form copy $new := $FORM_DATA_XML
modify do replace value of
$new/Filing/FilingKeys/INT_DCMT_ID with "129292929" return $new')
where DCMT_LCTR_NMBR = 'PM1148600349'...
User Profile
Collapse
-
Using Host Variables in Xquery
-
Using host variable in XQuery - for embedded SQL
I am trying to update some data in XML column. Input data is coming from file.
I wrote this SQL in COBOL program.
Here is my SQL.
EXEC SQL
UPDATE COMFIL.FORM
set Form_Data_xml =
xmlquery('trans form copy $new := $FORM_DATA_XML
modify do replace value of
$new/Filing/FilingKeys/INT_DCMT_ID with "129292929" return $new')
where...
No activity results to display
Show More