How to load the data into target table, which not have
Primary/Surrogate key (Duplicate records not acceptable)

Answers were Sorted based on User's Feedback



How to load the data into target table, which not have Primary/Surrogate key (Duplicate records no..

Answer / babu

u can write the filter condition in filter t/r.

in aggregator t/r select all ports are group by and add one
out put port,that is out--count(*),
in filter t/r u cam place the condition is out=1;

mapping:
src->sq->agg(t/r)->filtr or router t/r->trg

Is This Answer Correct ?    4 Yes 0 No

How to load the data into target table, which not have Primary/Surrogate key (Duplicate records no..

Answer / ramesh

this can achieved using Update statergy
we have option in UPD or Target update override

Is This Answer Correct ?    3 Yes 1 No

How to load the data into target table, which not have Primary/Surrogate key (Duplicate records no..

Answer / santosh kumar sarangi

1. If source is relational then in SQ you can check the
distinct or in mapping we can use distinct in sorter t/r.
2.if flat file then distinct in sorter t/r.

It will not allow nay duplicate data, so target will get
only distinct data.

Let me know if any thing wrong.

Thanks & regards
Santosh Kumar Sarangi

Is This Answer Correct ?    1 Yes 0 No

How to load the data into target table, which not have Primary/Surrogate key (Duplicate records no..

Answer / upendra

sq--> srtr-->aggr-->tgt

note:
srtr->properties->
select distinct and connect to aggr tr
aggr-->group by key column
aggr->properties->select sorted input
and connect to tgt

Is This Answer Correct ?    0 Yes 0 No

How to load the data into target table, which not have Primary/Surrogate key (Duplicate records no..

Answer / moorthy g [ibm]

1. Target Update Override
2. Select Unique Value (means)
Exp:
out_flag: decode( true, pre_no=no, 'Y', 'N')
pre_no = no

Router:
Out_flag: Y --- Unique Value
Default --- Duplicate Value

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

How to extract the informatica rejected data?

0 Answers  


When will u go for Dynamic Cache and Persistent Cache? Pls explain with an example?

2 Answers   TCS,


I have a condition sal=100 and I created one router and in that two groups g1 and g2 in g1 Sal<=100 and g2 Sal>=100, first which condition will satisfy, and Why?

11 Answers  


In which scenario did u used Mapping variable?

1 Answers   Cognizant,


1.what is SDLC of a project,explain in detail? 2.what are dimensions,facts?what is confirmed dimensions? 3.what is the need of OLTP? when we have datawarehousing?

2 Answers   Accenture,






why do we go for update strategy tr in SCD rather using the session properties?

3 Answers   IBM,


we have 6 records in source , i need 2nd record in one target and 5th record in one target or 2nd & 5th record in same target.

8 Answers  


write a sql query following table? col1 col2 1 2 1 2 1 2 3 4 3 4 5 6 i want the output like unique duplicate col1 col2 col1 col2 1 2 1 2 3 4 1 2 5 6

1 Answers   Cap Gemini,


i did MBA in 2008. i got job as a Software Engineer(Informatica) in 2008 February in our college campus interviews through consultancy. my problem is when iam going interview HR people ask " YOu are MBA graduate how u get software(informatica) job". iam saying i got job in campus interviews. i have knowledge in informatica in dataware housing. is this answer correct or not. plese give me guidence

1 Answers   IBM,


What are the types of maping in Getting Started Wizard?

1 Answers  


In operator is used in which transformation in informatica 8.6.0

5 Answers   Virtusa,


What are the different threads in DTM process?

2 Answers  


Categories