Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How do you load more than 1 max sal in each department through informatica or write sql query in oracle?

0 Answers  


If I am having 6 flat files in data. How can you load the data at a time

2 Answers   CSC,


Briefly explain your complete project(sales) flow, (ie. from source received from client, transformations, then despatch to end user) what are all the process. Kindly give step by step process.

0 Answers   TCS,


how do u move the code from development to production?

3 Answers  


If i havee 3records in my source having same deptno like Deptid Deptno ------ ------ 101 10 201 10 301 10 and i am using router TR to loading these records into target.Then how many record'll be loaded into target???

5 Answers   Wipro,


If i done any modifications for my table in back end does it reflect in informatca warehouse or maping desginer or source analyzer?

2 Answers  


Want to know about Training Centres for Informatica, Cognos and ETL Softwares in Mumbai, India.

27 Answers  


difference between source based commit? and target based commit? which is better with respect to performance?

6 Answers   IBM,


What is Session and Batches?

0 Answers   Informatica,


In which transformation you cannot drag ports into it?

0 Answers   Informatica,


why sequence generator should not directly connected to joiner transformation ?

1 Answers   ANZ,


Explain about Recovering sessions?

1 Answers  


Categories