How can i maintain unique surrogate key if 2 seperate
workflows from different repository run and insert/update the
main table at the same time.

Answers were Sorted based on User's Feedback



How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / abhinaw prakash

Hi Sameer.
Thanks for the reply.
Can we use same sequence generator across different repositories?

Is This Answer Correct ?    3 Yes 0 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / sameer rana

We can maintain a unique surrogate key if we use the same
sequence generator to generate the key.

Is This Answer Correct ?    3 Yes 1 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / rajesh aitha

Hello all,

We can use one Seq by creating reusable transformation in one repository folder and make the repository folder as shared folder.

But one constraint is there the in the question is all about to maintain the uniq key, being a challenge.

I have a suggestion to append a string for each record that is to maintain as S.key in the mapping it self.
like wf -1 will insert 1234A and wf -2 will insert 1235B as uniq key.

I suggest to know the exact functionality of Seq ...:-)

Is This Answer Correct ?    2 Yes 0 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / deepak

Create a sequence generator transformation in transformation developer and use this transformation instead of using separate sequence generators. 2. Use mapplet and design

Is This Answer Correct ?    3 Yes 2 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / suneel reddy

Create triggers in the DataBase on Inserts, use Oracle sequence to generate/fill the surrogate key

Is This Answer Correct ?    1 Yes 0 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / jatin marwaha

Use Dynamic Lookup on target table

Is This Answer Correct ?    0 Yes 0 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / nithya

By having a dynamic lookup at the target table

Is This Answer Correct ?    0 Yes 0 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / sanjeev

Mapping 1: we will use sequence generator, if key value is null then we will pass nextval else will find maximum of key value then will increment by 1

Mapping 2: same as above

Is This Answer Correct ?    0 Yes 0 No

How can i maintain unique surrogate key if 2 seperate workflows from different repository run and ..

Answer / singam srini

Hi
who replied the answer to given qs.. they were wrong..
please read the qs properly then reply ok..
sameer said same sequence generator..
deepak said reusable transformation(seq gen) and mappet..
how can we implement same seq gen t/r in different repositories..?
is it possible..?

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

i have two tables,table 1 having 2 columns and 3 rows,table2 having 3 columns and 2 rows.what is the output if i do left outerjoin,full outer join,right outer join?

2 Answers   IBM, Polaris,


Why filter transformation is an active one?

0 Answers  


write a query to remove null value follwing table? col1 col2 col3 dinesh null null null suresh null null null prakesh i want the output col1 col2 col3 dinesh suresh prakesh

4 Answers   Accenture, TCS,


Hi I'm new in Informatica. Can you show me a mapping sample on how to piviot the records? Thanks Robin

1 Answers  


My Source qualifier has empno, sal. Now my mapping is like SQ(EMPNO)->AGGR->EXP->TARGET SAL ------------>TARGET ? Is this mapping valid or any issues are there if we design like this?

3 Answers   Span Systems,






how can u tune u r informatica mapppings

2 Answers   CTS,


What are the connected or unconnected transforamations?

2 Answers  


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

0 Answers  


why we use informatica in our project?

2 Answers   TCS,


what are the unix commands to start the wrk flow ?

4 Answers   Accenture, TCS,


What are the advantages of using informatica as an etl tool over teradata?

0 Answers  


What is workflow monitor?

0 Answers  


Categories