07.02.2013 Views

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The first join predicate in Figure 10-10 is "F". "KEY_ZIC_SFC5" = "D5"."DIMID".<br />

This maps to a join relationship between F ("/<strong>BI</strong>C/FZIC_SFC") and D5<br />

("/<strong>BI</strong>C/DZIC_SFC5") tables. This relationship is represented in the diagram.<br />

Step 1 - Building the Join Graph<br />

WHERE "F"."KEY_ZIC_SFC5" = "D5"."DIMID"<br />

AND "F"."KEY_ZIC_SFC3" ="D3"."DIMID"<br />

AND "D3"."SID_Z_PRODCD" = "X1"."SID"<br />

Figure 10-10 Building the join graph<br />

The second predicate joins F with D3. The relationship is added to the first join<br />

relationship. The third is then added, and the join graph continues to grow until all<br />

join relationships are added.<br />

214 <strong>Best</strong> <strong>Practices</strong> <strong>for</strong> <strong>SAP</strong> <strong>BI</strong> <strong>using</strong> <strong>DB2</strong> 9 <strong>for</strong> z/<strong>OS</strong><br />

F<br />

F<br />

F<br />

D5<br />

D3<br />

D5<br />

D5<br />

D3 X1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!