Skip to content
Advertisement

Tag: xml

Delete xml node with a specific CDATA

This is part of my XML: I need to delete the EO node with <![CDATA[0001FFFFFFFF]]>,across the table using Oracle. This xml is stored in XM_DATA_CACHE of XMLTYPE. Is there a way to delete based on CDATA Final output should be Answer First of all your xml is broken: second tag GoalMeasurementEORow is not closed and also since that is just

Using a Scalar Function that expects a Table Parameter inside an Apply block

TLDR: I have a scalar function, that expects a table-valued parameter and returns the XML representation of that table. Now I need to use this function in a larger Update statement, where the table-parameter of the function is generated by inner Select statements. Hi, We have an XML type definition, say [dbo].[XmlTestType], that looks like something this: It basically represents

insert XML request into clob column using Oracle

I do have XML request as below: I wanted to insert it into a table in clob column but due to double quotes (” “) it is not insertable and below error is observed . SQL Error: ORA-01756: quoted string not properly terminated it is not insertable. Please suggest Answer Oracle uses single quotes to delimit strings. Use single quotes,

Advertisement