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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Within the WHERE clause, we first focus on the join predicates to build the join<br />

graph, and use the local predicates in a later step to determine where the filtering<br />

occurs. See Figure 10-9.<br />

Step 1 - Join Analysis<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 />

Focus on Join Predicates<br />

AND "F"."KEY_ZIC_SFC6" = "D6"."DIMID"<br />

AND "F"."KEY_ZIC_SFC1" = "D1"."DIMID"<br />

AND "D1"."SID_Z_SHIPTO" = "X2"."SID"<br />

AND "F"."KEY_ZIC_SFCP" = "DP"."DIMID"<br />

AND "X2"."S__Z_BTGRPNO" = "Z1"."SID"<br />

AND (((( "DP"."SID_0RECORDTP" = 0 ))<br />

AND (( "DP"."SID_0REQUID"

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

Saved successfully!

Ooh no, something went wrong!