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

What is a connected transformation?

0 Answers   Informatica,


How to start a workflow using pmcmd command?

0 Answers  


How do you avoid duplicate records with out using source qualifier,expression,aggrigator,sorter and lookup transformations ?

4 Answers   IBM,


In which conditions we can not use joiner transformation (Limitaions of joiner transformation) ?

2 Answers  


Hi, This is Lakshmi,Anyone taking classes for datawarehouse-Informatica and BO with real time project

2 Answers  






Dependecy Errors in Informatica ? Do u got any dependency problems while running session? Can any one Explain Clearly.

2 Answers   CTS,


i have source as Column1 101 a 101 b 101 c so i want to load target as column1 ---> 101 abc

3 Answers   HP,


How to create Target definition for flat files?

0 Answers   Informatica,


Which transformation should we use to normalise the COBOL and relational sources?

0 Answers   Informatica,


Hi All, I have three question. 1) How to remove the header and footer in a flat file in informatica? 2)How to load the first and last record of flat file into the target? 3)I have a Input and Output table. Input Name Salaray Month A 100 Jan A 200 Feb A 300 March B 400 April B 500 May B 600 June Output Name Salaray Month A 100 Jan A 300 Feb A 600 March B 400 April B 900 May B 1500 June How to implement and get the ouput as mentioned above. If Possible kindly provide the SQL query also. Kindly any one help to implement this concept. Thanks, Pradeep

3 Answers   CSC, iNautix,


Mapplets can you use an active transformation in a mapplet,

1 Answers  


What is the difference between a table and the materialized view?

2 Answers  


Categories