Solved

XML Tag - Remove Duplicates from Excel

Posted on 2013-01-01
1
539 Views
Last Modified: 2013-08-11
Hi All,

   I am trying to use XML to load data from sql query in to excel.... But in Excel, I am getting duplicate records.... How I can remove duplicates.... Any XML tags to remove duplicates,...

Please find my xml, rtf and excel output attached....

Thanks
Aman
XXALMPAPROJREP-1.1.xml
sample-output.xlsx
XXALMPAPROJREP-2.0.doc
0
Comment
Question by:amankhan
1 Comment
 
LVL 37

Accepted Solution

by:
Gerwin Jansen earned 500 total points
ID: 38734564
How many records are in XXALM_PROJECT_REPORT_T and how is that table organized? I see a column PROJECT_NUMBER that will be the key for the table XXALM_PROJECT_REPORT_T but if I look at for example: PROJECT_NUMBER=St.Regis-DEV-ABD-JO and TASK_NUMBER=2.1 I see 5 records in your sample output but the last column has unique values, so no 'double' output as far as I can see.

Can you do this select and look at the output you get:

select * from XXALM_PROJECT_REPORT_T
where PROJECT_NUMBER='St.Regis-DEV-ABD-JO' and TASK_NUMBER='2.1';
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question