Академический Документы
Профессиональный Документы
Культура Документы
Questions :
3) Scenario: I have 3 tables 1st table Emp ID and 2nd table Telephone Number,
Address , Location and 3rd table Bank Name , Account num .I want all the 3 tables in
one target table (all columns converted to rows .Note table is in Denormalized form)
** Empid is Common in 3 tables
Other part of Question
Scenario: Can i solve the above problem with Unconnected Lookup.
Other part
Scenario: If we are using Joiner what is the join condition
4) Scenario : I want to update the target table only, without using Dynamic Cache
5) Scenario : I have used Sql override in lookup ,there are 5 ports from Col A to
Col D But I have used override for first 3 columns Col A, Col B, Col C order by Col B
and mapping is validated .when i run the mapping the session throws error and Sql
overide is not valid.
6) Scenario : I have to join table is it better using the Sql override or lookup or
Joiner. Performance wise which is better
9) Can we make any changes in reusable & Non reusable Session often
ANSWERS :::
1> Direct : When we want to load data from 1 flat file only.
Indirect: when we want to load data from 2 or more flat files of same data structure.
2> Static Cache, Dynamic Cache, Persistent Cache, Recache Cache, Shared Cache
4> Use a filter after dynamic cache and give filter condition NewLookUprow=0
5> After SQL override give "--" without quotes else override wont work.
6> If tables are from same database use Source Qualifier else joiner. Lookup is not a
good option.
8> When you make changes to a reusable task definition in the Task Developer, the
changes reflect in the instance of the task in the workflow only if you have not edited
the instance.
10> Check whether you have set the option Treat Source Row as Update in session
properties or not. Set it to Update.
3> We need to join the three tables using Joiner. We need 2 joiner transformations
to join them. Join condition would be empid of one table=empid of another table.
4> We can use simple lookup to know whether record exists in target table or not.
We can the use update strategy.
Other option is to set the Treat Source Row as Update in session properties.