we have 20 records in source system, when we run for the 1st
time, it should load only 10 records into the target, when
you run for the second time it should load another 10 record
which are not loaded. How do we do that? Can we write a SQL
query in source qualifier to do it. This q' is asked in one
f the interviews. Please let me know if anyone knows. Thanks

Answer Posted / babu

Hi,
If u r source is Relational,then u can write sqloverride.
i.e
SQ ==> select rownum as num,col1,col2,.. from table
FLT ==> (num >= MVar1 and num <=MVar2)

NOTE: MVar1,MVar2 are mapping variables the initial values
of these variables 1,10 with respectivelly.

after completion of firsst run the variables are increased
11,20 respectivelly.all are knows how to declare the
mapping variables.
IF THERE IS ANY WRONG PLEASE CORRECT ME.

Thanks,
Babu

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we send the flat file data to different targets(which are also flat files) based on the name of flat file with out adding extra columns?

1732


How to go to the older version for a mapping?

688


During the running session, output files are created by informatica server. Enlist few of them.

627


Explian the Process of deployment groups in informatica

730


what is the hint? how to use it to reduce the query processing in program?

6674






I need the output file in the below format using Informatica. __0946684800__ 6 1 3 1 5 1 6 1 10 1 6 10 Pos State Time Split AgentID Reason Spaces Code in Code Spare state ______ ___ _____ ______ __________ ______ 1234 14 0 4321 3103 abcd 4321 15 5 123452 3150 Can someone help please?? We need the data in space-delimited, fixed ASCII format .

1578


How to load the data from a flat file into the target where the source flat file name changes daily?

662


How do you load only null records into target?

838


how we can load rejected record's at run time?(not through bad files)

2011


Enlist some properties of sessions.

730


Enlist the advantages of informatica.

729


Explain the shared cache and re-cache?

705


What is a node in Informatica?

721


How do you set a varible in incremental aggregation

1537


What is domain and gateway node?

801