What is the method of seperating unique and duplicate
records in session level?

Answer Posted / priya yadav

Hi,

I am not aware at session level but I can tell you the same
at mapping level.

Either Select Distinct in SQ itself or in expression, u can
use a variable v1 to store the business keys of the
records. This will store the business keys(based on which
you have to determine a record as duplicate) of the record

v1= A||B||C

Assign this to another variable v2. This will assign these
business keys to v2.

v2=v1( Now v2 will have value A||B||C)

Set Duplicate Flag as Y if V1= V2 else N.

Now the business keys are stored in v2. Next time the
record will come it will calculate v1 on basis of business
keys, if that record is duplicate v1=v2, and record will be
marked for duplicate. If the record has different business
keys then v1 <> v2, and the record will not be marked as
dupliacte.

Hope it helps.
Thankyou!!
Priya Yadav

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is DR strategy for Informatica project?

706


Please let me know how to make Data masking in informatica..

1272


Explain the features of connected and unconnected lookup.

548


How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?

629


How is union transformation utilized?

574






What is Data Caches size?

658


Suppose we configure sorter transformations in the master and detail pipelines with the following sorted ports in order: item_no, item_name, price. When we configure the join condition, what are the guidelines we need to follow to maintain the sort order?

656


I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?

1469


What are the popular informatica products?

653


Hi, I want to do Informatica Designer certification. Can anyone help me by providing the details on this. Thanks in advance. Regards, Arnab

1657


During the running session, output files are created by informatica server. Enlist few of them.

546


tell me about your project functionality

1870


Performance tuning in UNIX for informatica mappings?

2151


Explain the use of aggregator cache file?

680


I have two different source structure tables, but I want to load into single target table? How do I go about it? Explain in detail through mapping flow.

645