Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where Exactly is Lookup required 1

Status
Not open for further replies.

srvu

Programmer
Apr 29, 2008
49
0
0
US
Suppose there are two tables where i need to join their columns & extract a some other field from second table

Ex: table1.no=table2.no & need to get table2.id then which table is to be considered as lookup table???

Here we can use sourceQualifier directly,but can we use lookup in such a situation

and can we pass table1 fields(all fields) through lookup to other transformation(if table2 is lookup) as we used table1.no=table2.no in lookup condition

can we drag all fields in table1 to lookup & then pass to other transformation.
 
In INFA terms performing a join between 2 tables has nothing to do with performing a lookup.
You might want to join tables at the start of a mapping and fetch multiple fields from both tables. That is a typical join operation.

Lookups are usually used somewhere along the line for looking up , say a description to a code or something like that. You only pass the data to the lookup table that is required to perform the join expression. Usually this is one field, but it can be a set of fields if the lookup table has a composite key.

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top