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 are the new features of Power Center 5.0?

0 Answers  


how to join the two flatfiles using the joiner t/r if there is no matching port?

5 Answers   Cegedim,


I HAVE 10 records in source. I want to store i record in target 1, second record in target 2, third record in target 3, 4 th record again in target 11, 5th again in target 2, 6th again in target3 etc.... how it is possible?

5 Answers   Syntel,


Hi All can anyone tell me where i will get Informatica training in Mumbai?

3 Answers  


How will restrict values in 0-9 and A-Z and a-z and special character.Only allowed these chars otherwise we will reject the records? what is the function we used to restrict...

3 Answers   Cap Gemini,


when we go for unconnected lookup transformation? and why?

5 Answers   Accenture,


Source and Target are flat files, Source table is as below ID,NAME 1,X 1,X 2,Y 2,Y On Target flat file i want the data to be loaded as mentioned below ID,NAME,REPEAT 1,X,2 1,X,2 2,Y,2 2,Y,2 How to achieve this, Can i get a map structure

2 Answers   CTS,


How to go to the older version for a mapping?

0 Answers  


how can send duplicate records to one tableand non duplicate records to one table with simple clear mapping?

5 Answers   DELL,


What are limitations of joiner transformation?

2 Answers   Exilant, TCS,


how to return multiple columes through through un-connect lookup?

1 Answers   DELL,


My source has 100 records. I have targets say in number 5. all target tables has parent and child relationships in between themselves. Now I want to load all 100 records into all targets. How U can ensure that record inserted in parent and then loaded into child.

3 Answers   Cognizant,


Categories