GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  Informatica
Go To First  |  Previous Question  |  Next Question 
 Informatica  |  Question 162 of 630    Print  
We are using Update Strategy Transformation in mapping how can we know whether insert or update or reject or delete option has been selected during running of sessions in Informatica.

  
Total Answers and Comments: 6 Last Update: June 26, 2008     Asked by: renukhareddy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 05, 2005 03:13:08   #1  
Rishi        

RE: We are using Update Strategy Transformation in map...

In Designer while creating Update Strategy Transformation uncheck "forward to next transformation". If any rejected rows are there automatically it will be updated to the session log file.

Update or insert files are known by checking the target file or table only.


 
Is this answer useful? Yes | No
January 04, 2006 05:42:28   #2  
sithusithu Member Since: December 2005   Contribution: 161    

RE: We are using Update Strategy Transformation in map...

Opration                       


 
Is this answer useful? Yes | No
January 04, 2006 05:46:05   #3  
sithusithu Member Since: December 2005   Contribution: 161    

RE: We are using Update Strategy Transformation in map...

Operation           Constant               Numeric value

Insert                  DD_INSERT                      0

Update                DD_UPDATE                     1

Delete                 DD_DELETE                      2

Reject                  DD_REJECT                      3

Hope this will help you to find out.

Cheers,

Sithu


 
Is this answer useful? Yes | No
July 18, 2006 06:27:57   #4  
prasadns26 Member Since: July 2006   Contribution: 12    

RE: We are using Update Strategy Transformation in map...

hi,

if u r using an update strategy in ur mapping, there is no such oprtion to check or uncheck for these operations.when u have to perform any of the DML or database operations u have to code it in the UPD manually. so there is no chance for checking this. if u have used DD_UPDATE or DD_REJECT, u can only know it by querying the target table.if its rejected then through session log.


 
Is this answer useful? Yes | No
July 20, 2007 10:37:21   #5  
praveen katta        

RE: We are using Update Strategy Transformation in map...
Use a lookup transformation this will take a snapshot of the table before sending to update strategy. You can use active lookup, it will keep track of the data coming in and will help to identify new/old rows.
 
Is this answer useful? Yes | No
June 26, 2008 00:46:50   #6  
prade Member Since: May 2008   Contribution: 5    

RE: We are using Update Strategy Transformation in mapping how can we know whether insert or update or reject or delete option has been selected during running of sessions in Informatica.
In general DWH scenario, we create TABLE_REJECT or FILE_REJECT to keep a check of the rejected records. For all the updates happening we keep timestamp or some other flag in the database.

Before the update strategy itself if you know under what circumstances you need to perform insert, update, reject or delete put an indicator and check the indicator value in the update strategy to write to the target. 

OR 

use a router grouping on the indicator before the update strategy and create different groups for update, reject, delete or insert and write into the file. This is just for testing puproses. 

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape