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

What do you mean by channel change?

0 Answers  


Differentiate between a database and data warehouse?

0 Answers  


how will u take the data from clint server and next what u do in datamodeling what u will u do in staging area what u will u do next what u are doing please give the step by step by process

0 Answers   Patni,


Explain the use of aggregator cache file?

0 Answers  


hi all, can anyone please tell me the difference between erwin tool and informatica ?how these both works ? how this both are going to connect with business objects. THANKS IN ADVANCE

2 Answers  






In update strategy t/r we had given dd_insert condition & in session we gave delete condition . Then what will happen? mapping will run ?

3 Answers   emc2,


Why use shortcuts(Instead of making copies).

1 Answers  


ename,deptcount vamshi,3 kumar,5 krish,8 in o/p i want vamshi record 3 times kumar record 5 times like wise what is the logic.? give the entire logic plz

1 Answers   IBM,


how will u get 1 and 3rd and 5th records in table what is the query in oracle please help me

16 Answers   Cap Gemini, IBM,


What is the difference between informatics 7x and 8x and what is latest version?

0 Answers  


when i try to connect to the repository server i am getting this message can someone help me.. Starting Repository [infa_rep] (6016|1292) Informatica Repository Agent, version [7.1.1], build [0811], 32-bit. (6016|1292) Copyright (c) 2000-2004 Informatica Corporation. All Rights Reserved. This Software is protected by U.S. Patent Numbers 6,208,990; 6,044,374; 6,014,670; 6,032,158; 5,794,246; 6,339,775 and other U.S. Patents Pending. (6016|1292) Informatica Repository Agent starting up. (6016|1292) Security audit trail has been turned off. (6016|1292) infa_rep: Repository runtime manager initialized. (6016|1292) infa_rep: Initialized configuration information. (6016|1292) infa_rep: Initialized request dispatcher. (6016|1292) Database Connection Error : Failed to logon to Database server ORA-12154: TNS:could not resolve service name Database driver error... Function Name : Connect Database Error: Failed to connect to database using user [] and connection string []. (6016|1292) Service stopped.

1 Answers  


How to convert a row into column and a column into rows? Name all DTM threads. What all threads stop when we issue STOP or ABORT? How to pass the value of a data(variable kind of) from one session ( generated in mapping) to another session in the same workflow... What are the tyoes of partitioning you know and how to apply them in real time ... Can partitioning be applied to expression transformation and how

0 Answers   CTS,


Categories