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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How many input parameters can exist in an unconnected lookup?

1531


What is meant by active and passive transformation?

1111


can any one give some examples for pre sql and post sql(Except dropping and creating index).

4095


What is a repository manager?

1079


Please let me know how to make encryption and decryption with example?

1886


Can we use the mapping parameters or variables created in one mapping into any other reusable transformation?

1264


What is a sequence generator transformation?

1000


How to differentiate between the active and passive transformations?

1139


Debugger what are the modules, what are the options you can specify when using debugger, can you change the expression condition dynamically when the debugger is running.

2334


explain any diffcult scenario that u have faced in your experience... or explain any complex maping u have developed?

2132


Different sorts of metadata that stores in the storage facility?

995


What is the difference between Active and Passive transformation?

1134


Differentiate between router and filter transformation?

1001


How do you handle two sessions in Informatica

1130


How to join three sources using joiner?

1084