how can u generate sequence of values in which target has
more than 2billion of records.(but with sequence generator
u can generate upto 2 biliion only)

Answers were Sorted based on User's Feedback



how can u generate sequence of values in which target has more than 2billion of records.(but with ..

Answer / nagaraju bhatraju

generate a sequance values through sequesnce generator and
connet it to the target get the max value of it every time
from unconnected lookup and set this value(maxvalue) to
mapping variable so that the last max value will be stored
in repository. Once the sequance generator is reached its
max value say 2billion , set the property reset to 1 so
that sequence generator will start again to produce
sequance numbers .

and in experession write the logic like

new_seq=max(mapping_variable+sequence_generator (value)
then it is like 2million+1...2......(seq_gen)

every time sequance generator will reset to 1 after
reaching its max value

Is This Answer Correct ?    11 Yes 2 No

how can u generate sequence of values in which target has more than 2billion of records.(but with ..

Answer / sridhar tirukovela

By using the variable port in the Expression transformation
we can create more than 2 billion records.

Is This Answer Correct ?    10 Yes 3 No

how can u generate sequence of values in which target has more than 2billion of records.(but with ..

Answer / jagadish

step1
drag the source that exceed 2billion records into
mapping designer and connect it to expression
transformation.
step2
add a new column in the same expression trans with
decimal data type in any name assume column name is(PK)
step3
now create a sequence generatr trans and without
changing any property u directly connect the CURVAL port to
the newly creayed column(IN_PK) in the expression trans.
step4
now open the expression ports and add another new
column with decimal datatype assume column name is
(OP_PK),now enable the outport port of this column and open
the expression editor and write this expression{ CUME
(IN_PK)}.finally connect this output port (OP_PK) to u r
target table primary key column..u wil get the sequence no

Is This Answer Correct ?    5 Yes 3 No

how can u generate sequence of values in which target has more than 2billion of records.(but with ..

Answer / ramu

The above answer is correct and also set property like max
value is min value.

Is This Answer Correct ?    0 Yes 1 No

how can u generate sequence of values in which target has more than 2billion of records.(but with ..

Answer / amir jalali

Nagaraju's answer is correct except it would be easier to
just use the "cycle" property in the sequence generator and
combine that with the mapping variable to set the keys.

So say we have a mapping variable, $$2Billion = 0 for default.

The value of the keys would be KEY_IN +
($$2Billion)*2,000,000,000

The sequence generator would reset after hitting the 2
billion mark.

Is This Answer Correct ?    0 Yes 2 No

how can u generate sequence of values in which target has more than 2billion of records.(but with ..

Answer / chinna

by using unconnected lookup transformation u can check
condtion ie counter >0 it will be allways true,
or you can use oracle sequence or stored procedure
u have any querries revert me on chinnadw@yahoo.com

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More Informatica Interview Questions

Why do we use DSS database for OLAP tools?

2 Answers  


What is the actual work done in Development and in the production depts in building a datawarehouse. Which dept is more interesting and career oriented .

1 Answers  


can any one explain about dataflow in the informatica project for bank domain....thanks is advance

0 Answers   IBM,


I have 2 Sources,If 1st one Read sucessfully,Then only it has to move to read 2nd source.How can i do in INFORMATICA.

4 Answers  


define galaxy repository in informatica

0 Answers  






in performance wise union is past,union all is past

2 Answers  


What are the types of lookup transformation?

0 Answers   Informatica,


i have a source of n records.i have to load n+5 records to my target.What is the procedure??????plz tell me.....

1 Answers  


Do joiner transformation use cache? If so describe?

2 Answers   Patni,


why we are using surogate key in real time give me explanation

2 Answers   TCS,


How to go to the older version for a mapping?

0 Answers  


How to fasten loading of 100 million distinct records in informatica? (Initially they are loaded into target without using any transformation, taking 2 hours)

3 Answers   Atriax,


Categories