delete data from staging table as it loads to target table.here is the case
we are getting data from 3 different server.a b and c.the data from server A loaded into staging table and we ran the task and data loaded to target table.now today data from server B and C also got loaded to the staging table.now what techniques and what transformations should be used to delete only the data which has been loaded only to the target.we need to delete only that data from staging which has been loaded into the target.looking for your responses

Answers were Sorted based on User's Feedback



delete data from staging table as it loads to target table.here is the case we are getting data fro..

Answer / aparna

once the session loads the data to target ,truncate the staging table .So everytime we load is complete ,staging table will be empty .
In POST-SQL (Target ) : truncate the staging table .

Is This Answer Correct ?    3 Yes 0 No

delete data from staging table as it loads to target table.here is the case we are getting data fro..

Answer / ram

Hi,

for identification add a port like source_id in the stage table.

create 3 session instances to load data from 3 sources.

write pre sql in each session instance to delete the
records from stage table.

delete from <stage_table>
where id in (select id from target table)
and source_id=<identifiaction_value>;

please let me know the if you have any questions.
bhupalreddy200@gmail.com

thanks
ram

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Informatica Interview Questions

Calculate sum of salaries department wise. Then the sum will be repeat for all columns in each department. Develop a mapping for this.

0 Answers   Cap Gemini,


what is mean by flag 4 in update strategy t/r

6 Answers  


Is it passive or active when check and uncheck the box of DISTINCT in Sorter transformation? why?

6 Answers   iFlex, Morgan Stanley,


Clarify the aggregator change?

0 Answers  


Which means the first record should come as last record and last record should come as first record and load into the target file?

0 Answers   Informatica,






WHAT IS THE DIFFERENCE B/W 7.X AND 8.X ? TELL ME FEW DIFFERENCES.

2 Answers  


How can you join two tables without any common column present in them?

1 Answers   TCS,


what is runtime variable?

3 Answers   TCS,


Hi experts, can anyone tell how much we use plsql in real time

3 Answers  


If we use only lookup transformation in a mapping ie, SourceQualifier-->Lookup --> Target. , here datas are taking very long time to load in target., so what are steps to improve the performance in that mapping???????

2 Answers  


What are two types of processes that informatica runs the session?

2 Answers  


i have an aggregater in my mapping and no group by port on any column and i ampassing 100 rows through aggregater,so how many rows i will get as out put from aggregater

5 Answers  


Categories