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
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 |
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 |
Explain the shared cache and re-cache?
How to use pmcmd utility command?
What do you understand by SOA of Informatica?
how do the project develops? pls specify right from the start to end in step by steps.
how the data will be loaded while desiging the schema?which one first (for e.g.-dimesions and facts)
What are session parameters ? How do you set them?
What are the uses of etl tools?
What is the difference between Bitmap and Btree index?
What is the advantage of persistent cache? When it should be used.
How does the server recognize the source and target databases. Elaborate on this.
,if we have single SQ in flow and we have router in which it has two group and we want to join these two groups with joiner ?is it possible?
Differentiate between router and filter transformation?