How we can get unique records into one target table and
duplicate records into another target table??
Answer Posted / nag
Hi,
I think this scenario will help u.
Source - SQ Trans(2 Instances)-target(2 different targets)
In one of the Instances of SQ Trans write this Query:
select distinct <field name>......from <table name>;
Note:- It fetches only unique records.
In another Source instance write the following query:
select * from <table name> where rowid not in (select max
(rowid) from <table name> group by <field name>);
ex:- select * from emp where rowid not in (select max
(rowid) from emp group by ename);
Note:- It fetches only duplicate records.
then pass the fields to the targets(u should take different
targets).
I hope this will work.
Thanks and Regards,
Nag
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
How do you remove duplicate records in informatica? And how many ways are there to do it?
What is the surrogate key?
What is powercenter on grid?
Describe an informatica powercenter?
What is a sorter transformation?
Can some one explain me about Telecommunications(wireless) project in Informatica? Thanks in advance
Write the unconnected lookup syntax?
How to do unit testing in informatica?
When do you use sql override in a lookup transformation?
Partition, what happens if the specified key range is shorter and longer
Can we use the mapping parameters or variables created in one mapping into any other reusable transformation?
Briefly define reusable transformation?
COL1,COL2 ABC,1 XYZ,2 HERE IN COL2 VALUES 1,2 NOT STSANDARD(IE MEANS NOT FIXED VALUES LIKE OTHER SOME VALUES LIKE 10,20) O/P IS COL1,COL2 ABC,2 XYZ,1
What is informatica worklet?
Can we create a node as a gateway node and the same node can be assigned to a grid?