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
I want my deployment group to refer an external configuration file, while i deploy in the production environment. How can i achieve it.
Define mapplet?
What is the commit type if you have a transaction control transformation in the mapping?
What are the new features of informatica 9.x developer?
How to use pmcmd utility command?
What is sorter transformation?
What are the features of complex mapping?
What do you mean by filter transformation?
What is the difference between a connected look up and unconnected lookup?
How to generate sequence numbers using expression transformation?
Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?
What are active transformations.
What is confirmed fact in dataware housing?
What is the difference between writing a joiner query in ANSI style and THETA style?
Which is the t/r that builts only single cache memory?