Click here to Skip to main content
15,887,289 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,
Can anyone tell the ans for the above??

thanks in advance
Posted

 
Share this answer
 
Hi
When you want to join 2 source tables on the bases of relation irrespective of their location you can use merge join, you can perform inner, outer join on this source tables as we do in T-SQL.

Look Up is used to find value(look for a value) in destination table with respect to source column values, i.e. check existence of source column value against destination column values.

Above solution also gives you more detail on the differences.

Let us know if you need more detail.

Regards
Mubin
 
Share this answer
 
v2
Merge Join needs both inputs to be sorted, Sorting is highly expensive operation because it is Fully Blocking transformation which is not suggestible to use in package if you are loading millions of records.

Lookup transformation is non blocking transformation and sorting is not required. So, Lookup transformation is better than Merge Join by performance perspective.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900