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
complex mapping ur project u r invlve can u explain and give real time example give me ?
How many dimensions are there in informatica?
What are the new features of informatica 9.x at the developer level?
Whats there in global repository
WHAT IS EDM?WHAT IS THE USE IN INFORMATICA? chandumba2005@gmai.com
explan ur project architecture?
How might one distinguish in the case of mapping is right or not without associating session?
Scheduling properties,whats the default (sequential)
in reporting we add some new objects,how we get the count of the newly added objects to the report
What is update strategy transform?
Partition, what happens if the specified key range is shorter and longer
How to improve the performance of a session using sorter transformation?
What are the tuning techniques you applied during your last project
What are active transformations.
What are the limitations of joiner transformation?