Exforsys

Online 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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-02-2006, 06: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
  #2 (permalink)  
Old 06-12-2006, 06: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, 09:16 AM
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
Reply

Thread Tools

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 01:03 AM


All times are GMT -4. The time now is 10:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.