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  >  ETL
Go To First  |  Previous Question  |  Next Question 
 ETL  |  Question 40 of 60    Print  
In real time scenario where update strategy transformation is used?if we dml operations in session properties then what is the use of update strategy transforamtion ?

  
Total Answers and Comments: 2 Last Update: February 22, 2007     Asked by: narendranathyogi 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 29, 2006 03:09:13   #1  
Rangini vignesh        

RE: In real time scenario where update strategy transf...

Ans:We can use Update strategy transformation in two ways .

1.Mapping level.

2.session level.

Importence of Update strategy transformation in both cases as follows.

In real time if we want to update the existing record with the same source data you can go for session level update logic.

If you want to applay different set of rules for updating or inserting a record,even that record is existed in the warehouse table .you can go for mapping level Update strategy transformation.It means that if you are using Router transformation for performaning different activities.

EX: If the employee 'X1234 ' is getting Bonus then updating the Allowance with 10% less.If not, inserting the record with new Bonus in the Warehouse table.


 
Is this answer useful? Yes | No
February 22, 2007 02:18:13   #2  
Noel Lastra Member Since: February 2007   Contribution: 38    

RE: In real time scenario where update strategy transf...
Update strategy, Supposed you have a router you are router has 3 groups, 1 group is for update, 1 group is for delete, 1 group is for insert to target table.  You can use the update strategy for each group before going to target and changing the expression to DD_UPDATE, DD_DELETE, and DD_Insert.  Don't forget to change the session property, treat source rows as (something like this) DATA_DRIVEN.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : can u plz send the detailed description of each transformationthanx ...

Answered by kiran on 2005-05-08 09:32:14: An active transformation can change the number of rows as output after a transformation, while a passive transformation does not change the number of rows and 
Latest Answer : Active transformation is nothing but it will change the no of rows passing through it (example) Filter transformation .In it when  we have 1000 rows as input after filter transformation according to the condition the output will be  modifiedPassive ...

Answer posted by Staline on 2005-05-27 00:42:44: You can use a Command task to call the shell scripts, in the following ways:  1. Standalone Command task. You can use a Command task anywhere in the 
Latest Answer : Hi,There are two ways to do this,they are as follows:1)we can use a command task anywhere  in the workflow or worklet to run the shell commands.2)In the session task,we can call reusable command task  in the pre-session post_session property ...

Latest Answer : with out knowing these what can u do? ...

Latest Answer : You cannot lookup from a source qualifier directly. However, you can override the SQL in the source qualifier to join with the lookup table to perform the lookup. ...
Read Answers (3) | Asked by : asha

In real time scenario where update strategy transformation is used?if we dml operations in session properties then what is the use of update strategy transforamtion ?

How you capture changes in data if the source system does not have option of storing date/time field in source table from where you need to extract the data?
The DW database can be Oracle or Teradata. The requirement here is to pull data from source system and ETL need to device a mechanism to identify the changes or new records. The source system can be a 
Read Answers (1) | Asked by : GeekNo1

Latest Answer : Update strategy transformation determines whether to insert, update, delete or reject a record for the target.  We can bypass update strategy transformation by creating a router to divide rows based on insert, update, etc and connecting ...

Latest Answer : When the DB servers are different say for ex one is oracle and other SQL server, we cant pull th data at DB level. ...

In What scenario ETL coding is preferred than Database level SQL, PL/SQL coding? What is the methodology and process followed for ETL testing in Data warehouse environment? Develop a mapping to extract the employee drawing maximum salary where deptno = department drawing... If LKP on target table is taken, can we update the rows without update strategy transformation? How you capture changes in data if the source system does not have option of storing date/time field... What is the Difference between
Read Answers (1) | Asked by : srihari


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Performing DML Operations on XML Schema Based XMLType Views

Performing DML Operations on XML Schema Based XMLType Views Analyzing the underlying query of the empSch v view discussed in the preceding section you may note that each attribute of the EMP T object used in the select list maps to a certain column of a single table namely emps What this means in pr
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 

ODP.NET - Retrieving Data Using OracleDataReader

ODP NET Retrieving Data Using OracleDataReader OracleDataReader is simply a read only and forward only result set It works only if the database connection is open and it makes sure that the connection is open while you are retrieving data As the data that it retrieves is read only it is a bit faster
 





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