Solved

XML Tag - Remove Duplicates from Excel

Posted on 2013-01-01
1
568 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

717 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