Data Warehousing Community Forum
February 09, 2012, 01:51:26 pm

Pages: [1]   Go Down
  Print  
Author Topic: Informatica Scenario for routing Duplicate records  (Read 4096 times)
praveen
DW Fresher
*

Reputation: +1/-0
Offline Offline

Posts: 4


View Profile
« on: July 26, 2010, 07:12:47 pm »

Hi All,

Can you please help me in this scenario. I have one source table S1 which has following data

a1  10
a1  10
a1  10
a2  20
a2  20
a3  30

There are 2 target tables T1 and T2. I would be needing all the unique records in T1 and one instance of the duplicate row in other even if it has more than 2 rows in the i/p database.

o/p should be :
T1
a1 10
a2 20
a3 30

T2
a1 10
a2 20

Please let me know.

Thanks,
Praveen
Logged
Whoever
Administrator
*****

Reputation: +34/-0
Offline Offline

Posts: 124



View Profile WWW
« Reply #1 on: July 27, 2010, 10:16:16 am »

There are 2 target tables T1 and T2. I would be needing all the unique records in T1 and one instance of the duplicate row in other even if it has more than 2 rows in the i/p database.
Why not do this with a simple query against your source DB, instead of trying to do this in Informatica ?
Logged

If most people said what’s on their minds, they’d be speechless.
praveen
DW Fresher
*

Reputation: +1/-0
Offline Offline

Posts: 4


View Profile
« Reply #2 on: July 27, 2010, 07:17:10 pm »

Thanks Whoever,

But I wanted to know, who to solve this in informatica. It might be the case that the source and table be a flat file.

Thanks,
Praveen
Logged
Allegra
DW Apprentice
**

Reputation: +17/-0
Offline Offline

Posts: 75



View Profile
« Reply #3 on: July 28, 2010, 01:16:40 pm »

Praveen/Whoever -

Same query has been asked by folks earlier in this Forum. Please refer to the below mentioned link.  Cool

Source -
Mapping to seperate distinct and duplicate records
Logged

@llegr@
what do you call an Ant with an AK47 ?
praveen
DW Fresher
*

Reputation: +1/-0
Offline Offline

Posts: 4


View Profile
« Reply #4 on: July 28, 2010, 10:08:51 pm »

Thanks Allegra,

I got it.

Thanks,
Praveen
Logged
Sipra
Founder
*****

Reputation: +59/-0
Offline Offline

Posts: 323


Am the King...


View Profile WWW
« Reply #5 on: July 30, 2010, 11:22:50 pm »

Praveen -

Please search the forum before you posting any thread.  Undecided
Locking this thread, please continue with original thread - Mapping to seperate distinct and duplicate records

Thanks Allegra.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: