Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8484405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:22:20+00:00 2026-06-10T20:22:20+00:00

I have a table that contains an xml document stored as a clob. TabA

  • 0

I have a table that contains an xml document stored as a clob.

TabA
----
Name varchar2(30) (PK)
Definition clob
other attributes

Note: “Definition” is the clob column that stores the XML.
Typical data volume: 1500 rows.

My requirement is to do some kind of recon and only process those rows on a daily basis that have undergone change to the XML and process those rows that have come in as new.
Identifying rows that came in new and processing only them is easy and can be done with “minus” on the name.
But, is there a good way to identify the XMLs in the existing rows that have undergone change ?

For eg: If an element within an XML has been removed or its attributes changed from the previous day, then I should be able to process that “Name” row.

Example of the typical XML in the table:

<?xml version="1.0" encoding="UTF-8"?>
<dataMart asOfDriver="EFFECTIVE_DATE" chainedData="false" classification="" convertUsingFxRate="false" coreEntityIndicator="false" createdAt="2011-12-22T17:41:11.002" createdBy="user1" description="" entitled="false" entitlementDriver="false" hierarchicalFlag="false" innerJoin="false" intent="Intermediate" lastUpdatedAt="2012-07-26T16:11:42.424" lastUpdatedBy="p459807" martType="SPOT" martUsage="Persistent" ownerRole="Meta Model SSC" preAggregatedData="false" referenceDataIndicator="false" retention="" rollupFunction="" staticAggregationOnly="false" status="ACTIVE" tags="">
<name>Name1</name>
<sources>
    <source isDefault="false" name="S1"></source>
</sources>
<rowType-mapping>
    <rowType identifier="0">
    <element alias="E1" name="E1" source="" sourceAlias="" sourceType="system" trackSource="false">
      <description localDescription="false"></description>
          <validationRule type="None"></validationRule>
          <mapping columnName="E1" function="" tableName="TABA"></mapping>
          <Opaque />
    </element>
    More element tags
    ...<element> </element>
    </rowType>
</rowType-mapping>
<parameters>
    <parameter filter="N" name="P1">
      <![CDATA[PM]]>
    </parameter>
</parameters>
</dataMart>

Any pointers would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:22:22+00:00Added an answer on June 10, 2026 at 8:22 pm

    I would recommend using trigger to log changed items to another table. Process what ever was logged in the log table for a particular day.

    On how to compare two XMLs refer to this

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table that contains a column of XML Datatype (column name FileContent).
I have an stored procedure that works on an table that contains xml field,
I have a table that contains some meta data in an XML field. For
I have a field in a table in Oracle that contains an XML formatted
I have an xsd (for basecamp xml) that contains <xsd:complexType name=ProjectType> <xsd:sequence> <xsd:element name=announcement
I have a table that contains a column that is XML data type. I
I have a lookup table that contains these columns: id, name, value, colx, coly
I have a Clob column in a table which contains xml data. I try
In my SQL 2008 database table, I have one column name AUTHOR that contains
I have a table that contains multiple dropdown menus for a list of profile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.