Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

I have scenario, i have 10 worklflows and i want run the 1st workflow first and immediately i want to run 10th workflow has to run and am not bothering of 2 to 9 workflows? can any one help me how to do this? Thanks in advance.....

4 Answers   Patni,


What are the differences between source qualifier and joiner transformation?

0 Answers  


on a day i load 10 rows in my target and on nextday i get 10 more rows add to my target but out of 5 are update row how ican send them to target?how i can insert and update the records

4 Answers   Fidelity,


Name the different lookup cache(s)?

0 Answers  


How to create Target definition for flat files?

0 Answers   Informatica,


diffrence between command task and control task

1 Answers   iNautix,


What is the term PIPELINE in informatica ?

7 Answers   Deloitte,


Is there any target staging area in informatica not staging area

0 Answers   Syntel,


Explain transaction control transformation in informatica

0 Answers   Informatica,


i have a source table and 3 target table. when session runs first time-1st tgt second time-2nd tgt third time-3rd tgt fourth time-again 1st target. so no

4 Answers   HCL,


Can you use the maping parameters or variables created in one maping into any other reusable transformation?

1 Answers  


In warehouses how many schemas are there?

0 Answers  


Categories