How can i generate Seqence Numbers to Tagret Table
(with out using Seqence Gen Trans,Rank Trans).


Answers were Sorted based on User's Feedback



How can i generate Seqence Numbers to Tagret Table (with out using Seqence Gen Trans,Rank Tr..

Answer / krishna

Use database Sequence generator call this from stored
procedure or dummy lookup query

or

You can also use expression transformation. Create two
ports one is variable and assign it to 0 and another one is
output port ind Write the logic to increment it
(o_seq=v_Seq+1)

Is This Answer Correct ?    9 Yes 1 No

How can i generate Seqence Numbers to Tagret Table (with out using Seqence Gen Trans,Rank Tr..

Answer / vijay

You can also use expression transformation. Write the logic
i = 0 and increment it in another column. Give this column
as output.

Is This Answer Correct ?    7 Yes 1 No

How can i generate Seqence Numbers to Tagret Table (with out using Seqence Gen Trans,Rank Tr..

Answer / manikandan

I think your Express increment is not clear because when the second record will comes again it that variable is initialize to zero.

So we do to capture into Variable by SetVariable()

Or

The Use target lookup and return the column(SNo) which you what to populate the seq number.

Check in Express(before Target), If(isNull(SNo), 1, SNo+1). Connect this to SNo in Target

Is This Answer Correct ?    3 Yes 0 No

How can i generate Seqence Numbers to Tagret Table (with out using Seqence Gen Trans,Rank Tr..

Answer / chaitanya

Use database Sequence generator

Is This Answer Correct ?    2 Yes 0 No

How can i generate Seqence Numbers to Tagret Table (with out using Seqence Gen Trans,Rank Tr..

Answer / ganesh

You can handed this issue, using expression transformation.

1) create one variable port and declare it as Integer and
assign the value to Output port.

e.g: var_count Integer var_count+1
out_count Integer var_count

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Informatica Interview Questions

Tell me one complex query in oracle ?

2 Answers   L&T, Satyam,


Give some information on report bursting and how to do it in bca as I have to split the report and send different reports to different people?

1 Answers  


Explain the use of aggregator cache file?

1 Answers  


when will we use unconnected & connected lookup? How it will effect on the performance of mapping?

5 Answers   Accenture,


Different sorts of metadata that stores in the storage facility?

1 Answers  


My source table look like ID Name Location Salary 1 ran NULL NULL 1 NULL DELHI NULL 1 NULL NULL 1000 I want my output to look like ID Name Location Salary 1 ran Delhi 1000 What should be my approach to design a informatica mapping. Assuming my source is flat file not a Relation table so i cant use SQL.

2 Answers   BirlaSoft,


What is the difference between Bitmap and Btree index?

3 Answers   Mind Tree,


What is a repository manager?

1 Answers  


What is the exact difference b/w IN and EXIST in Oracle..?

4 Answers   Wipro,


Hi, Can you please send me the Informatica 8 certification exam dumps to my email id rwork.san@gmail.com Thanks, Revathi.

6 Answers   CTS,


in mapping i have one source and five targets in that data will be loaded into four targets properily in one target the data is not loaded how will u rectify

3 Answers   Patni,


How to load last 10 records of flat file in to the target?

5 Answers   iNautix,


Categories