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

In dimension and fact table? which one holds big data?

2 Answers  


Without using Lookup & Sequence Generator, How to generate Sequence?

5 Answers   CTS,


How we will implement Pushdown Optimization and Types in Informatica with better examples

4 Answers   TCS,


How the informatica server sorts the string values in Rank transformation?

1 Answers   Informatica,


What is difference between a connected look up and unconnected look up?

6 Answers  


what are the differences between powercenter 8.1 and powercenter 8.5?

2 Answers  


What is use of batch file in informatica? How many types of batch file in informatica?

2 Answers   EXL,


how do u fnd the duplicate rows and how to delete the duplicate rows?

2 Answers   IBM,


What is a command that used to run a batch?

2 Answers  


difference between top down(w.h inmon)and bottom up(ralph kimball)approach?

2 Answers   PayPal,


I want load the data into target with out 1st and last record.

5 Answers   Yash Technologies,


Hi can any one tell me the difference between persistence and dynamic caches? On which conditions we are using these caches?

3 Answers  


Categories