Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3177

Re: Union of Join between 2 objects in composite providers

$
0
0

Hi Vineet,

 

Join in an union is possible with the below scenarios as example,

 

If you notice in Table T2 & T3 ,

My account number hold different categories and loaded in different targets & we dint consolidated into a single data target to avoid data loads , So I have used left outer join in this scenario.

 

Let me know if you have more questions.

 

Thx,

Pre

 

T1
Doc#AcctNumPrice Unit
111AA10014
222AA10015
333BB10032
444BB10037
555AA100455
555AA100434

 

T2
Doc#AcctNumNet PricePrice Unit
111AA1001$904
222AA1001$455
555AA1004$4855
555AA1004$4934
T3
Doc#AcctNumNet PricePrice Unit
333BB1003$462
444BB1003$477

 

 

Left JoinT1:T2
Doc#AcctNumNet PricePrice Unit
111AA1001$904
222AA1001$455
333BB10032
444BB10037
555AA1004$4855
555AA1004$4934

Viewing all articles
Browse latest Browse all 3177

Trending Articles