creating column name from a variable

  • I wondered when you were going to show up on this one

    --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)

  • Hi Everyone --

    Thanks so much for all the tips. That was very helpful. Whoever asked why you'd want to do this...yes it is a summary/pivot table for reporting purposes with querying different time periods based upon the whims of management. .

    Thanks again!!

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply