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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between a data warehouse and a data mart?

595


What are the tasks that source qualifier perform?

629


Write the unconnected lookup syntax?

654


State the differences between sql override and lookup override?

619


What is the difference between Active and Passive transformation?

631






How to generate sequence numbers?

616


I have three same source structure tables. But, I want to load into single target table. How do I do this? Explain in detail through mapping flow.

770


What are the different ways to implement parallel processing in informatica?

859


HOW TO PROCESS THE ROWS FROM JOINER AND EXPRESSION TRANSFORAMTION TO SORTER TRANSFORMATION

1472


How does a sorter cache works?

563


How to update a particular record in target with out running whole workflow?

1154


How to use procedural logic inside infromatica? If yes how, if now how can we use external procedural logic in informatica?

692


Briefly explain the aggregator transformation?

590


Define mapplet?

626


What is flashback table ? Advance thanks

1478