How could we generate the sequence of key values without
using sequence generator transformation in the target ??

Answers were Sorted based on User's Feedback



How could we generate the sequence of key values without using sequence generator transformation i..

Answer / g. manthiramoorthy

Create Two Port in Exp. Trans
v_temp : v_temp+1
o_seq : IIF(ISNULL(v_temp),0,v_temp)

Is This Answer Correct ?    18 Yes 2 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / kalyan

Do a lookup on the Target table with an Lookup SQl Override
Select MAX(FIELD_NAME), field 1 , field3 from target group
by field1, field2...

In the Expression increment the Max values of the field
which you just got from the lookup by 1.

Here MAX_FIELDNAME) is the Max value of the field you want
to generate the sequence of..

Is This Answer Correct ?    19 Yes 4 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / kamalakar

by using pre sql in source qualifier we can generate
sequence in the target

Is This Answer Correct ?    16 Yes 3 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / raghu

TAKE EXPRESSION TRANSFORMATION AND DOUBLE CLICK ON THE
EXPRESSION TRANSFORMATION AND ADD TWO NEW PORTS
1.SEQ
2.SEQ_OUT

1.IN THE SEQ PORT CHECK V=VARIABLEPORT THERE YOU MENTION
EXPRESSION SEQ+1.
2.IN THE SEQ_OUT PORT CHECK O=OUTPUTPORT THERE YOU MENTION
EXPRESSION IIF(ISNULL(SEQ),O,SEQ)
IT WILL GIVE CORRECT RESULT

Is This Answer Correct ?    10 Yes 0 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / kishore.g.n

It can be implemented throuh Lookup T/f,Develope the lkp
t/r with condition like NEXTVAL=CURVAL+1,Through this
conditon we can acheive.

Is This Answer Correct ?    7 Yes 2 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / infastudent

use an oracle sequence and create a function to call it
inside informatica

Is This Answer Correct ?    8 Yes 4 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / m

Take Two Variable Ports in Expression V1,V2 and Output Port


V1=V2
Op=v1
V2=V1+1

Is This Answer Correct ?    5 Yes 1 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / sathish

use expression transformation
create two ports
one is assigned with it to zero
another one is assigned in outputport with expression logic
is o_seq=v_seq+1;

Is This Answer Correct ?    9 Yes 7 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / sureshbabu

raghu is correct

Is This Answer Correct ?    1 Yes 1 No

How could we generate the sequence of key values without using sequence generator transformation i..

Answer / arnab

either use oracle to generate the sequence number or use an
unconnected lkp transformation which looks up on the
target, get the max(value) of the column which has to be
incremented and increment the value by 1

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Informatica Interview Questions

What is a surrogate key?Why we use it in a mapping?Pl give an example.

4 Answers   PCS,


which T/r we can use it mapping parmeter and mapping variable? and which one is reusable for any mapping mapping parmeter or mapping varibale?

3 Answers   Wipro,


what is mean by complex business rule ?

0 Answers   Cap Gemini,


In mapping f.f as one src and f.f as trg,f.f as src and oracle as trg which is fast? mean which is complete first process

2 Answers   Wipro,


Hi all, Can you please send me the Dimensions and fact tables which are used in mutual fund project. and please send me the brief summary about the project. Please do the needful.

0 Answers  






How do you implement scheduling in Informatica?

1 Answers  


Session S1, S2, and S3. In the session S3 I want to load every Saturday. How it is possible?

2 Answers   TCS,


What does cheating measurement mean?

0 Answers  


if i have one mapping and we already tuned that mapping for performance,everything is fine and loading will take 1 hr,so without doing any change in mapping how could we reduce the loading time from 1hr to 1/2 hr.

5 Answers   Wipro,


while creating the scd mappings. we will mention flag value. what exactly the use of defining the FLAG VALUE. Please explaine indetaile

2 Answers   Amdocs,


My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?

0 Answers  


i have source in oracle 10g,oracle 8i how will u take the data from two sources

2 Answers   TCS,


Categories