• ramanathan.raman88 (2/2/2013)


    Table 1

    ABCDF

    A1B1NULLNULLNULL

    A2B2NULLNULLNULL

    A3B3NULLNULLNULL

    A4B4NULLNULLNULL

    A5B5NULLNULLNULL

    Table 2

    LocName

    A1White

    A2Black

    A3Red

    A4Orange

    A5Blue

    B1Green

    B2Yellow

    B3Gold

    B4Rose

    B5Silver

    The absolute best way would be to normalize Table 1. 😉

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)