?
Solved

XML Tag - Remove Duplicates from Excel

Posted on 2013-01-01
1
Medium Priority
?
587 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 2000 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

Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Suggested Courses

765 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