Forum Replies Created

Viewing 3 posts - 136 through 139 (of 139 total)

  • RE: HELP! Query not properly displaying data

    Quick note: you swapped the sides of the join between your first chunk of code and your second. The CSCSHBAL table should be the one the join direction...


    R David Francis

  • RE: HELP! Query not properly displaying data

    What happens if you switch it to a LEFT OUTER JOIN? I always get a bit dyslexic with these things....


    R David Francis

  • RE: HELP! Query not properly displaying data

    TO be clear - if you change:

    ...

    FROM CSCRDTTL b RIGHT OUTER JOIN CSCSHBAL a

    ON a.DBR_DATE=b.DBR_DATE

    WHERE ...

    to:

    ...

    FROM CSCRDTTL b RIGHT OUTER JOIN CSCSHBAL a

    ON (a.DBR_DATE=b.DBR_DATE and a.STORE_ID = b.STORE_ID)

    WHERE ...

    you don't...


    R David Francis

Viewing 3 posts - 136 through 139 (of 139 total)