Exforsys

Free Training

Eliminating Duplicate Rows from Flat File

This is a discussion on Eliminating Duplicate Rows from Flat File within the Data Warehousing forums, part of the ERP category; In Informatica, how is it done to eliminate duplicated rows from a flat file?...

Go Back   Exforsys > ERP > Data Warehousing

Exforsys.com

  #1 (permalink)  
Old 06-02-2006, 05:57 AM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
Eliminating Duplicate Rows from Flat File

In Informatica, how is it done to eliminate duplicated rows from a flat file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-12-2006, 05:11 PM
Member
 
Join Date: May 2006
Posts: 38
zsk_00 is on a distinguished road
One way is to use aggregator. Group by all the columns and the output will not have any duplicates. If the input file size is big, use sorter before aggregator and check the [sorted input] box in the aggregator (this is for performace improvement)

Zafar
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-24-2007, 08:16 AM
a.joycy's Avatar
Junior Member
 
Join Date: Aug 2007
Location: I live in Madagascar
Posts: 1
a.joycy is on a distinguished road
Send a message via MSN to a.joycy Send a message via Yahoo to a.joycy
Inside UNIX you can use this commande to eliminate duplicated rows from a flat file"sed '$!N; /^\(.*\)\n\1$/!P; D'"

Ex: cat file sed '$!N; /^\(.*\)\n\1$/!P; D' > /home/tmp.dat
cat /home/tmp.dat > file
rm /home/tmp.dat
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to delete duplicate rows from a table athermaliq Oracle Tutorials 5 01-17-2006 12:03 AM


All times are GMT -4. The time now is 07:18 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.