• Papil - Tuesday, January 9, 2018 1:58 PM

    Can someone pls help with the following data. currently my data is as below in the first table. How can i get it to split by column 0 values so as to get it as in the table 2.
    Both table has 8 columns. 
    Thanks.Any leads will be appreciated.

    Column0Column1Column2Column3Column01Column12Column23Column34
    Atest1test2test3Ctest1test2test3
    Atest1test2test3Ctest1test2test3
    Atest1test2test3Ctest1test2test3
    Atest1test2test3Ctest1test2test3
    Btest1test2test3Ctest1test2test3
    Btest1test2test3Ctest1test2test3
    Btest1test2test3Ctest1test2test3
    Ctest1test2test3Ctest1test2test3
    Ctest1test2test3Ctest1test2test3

    Column0Column1Column2Column3Column01Column12Column23Column34
    Atest1test2test3Atest1test2test3
    Atest1test2test3Atest1test2test3
    Btest1test2test3Btest1test2test3
    Btest1test2test3NullNullNullNull
    Ctest1test2test3Ctest1test2test3
    Ctest1test2test3Ctest1test2test3
    Ctest1test2test3Ctest1test2test3
    Ctest1test2test3Ctest1test2test3
    Ctest1test2test3Ctest1test2test3
    Ctest1test2test3NullNullNullNull

    It's probably just me but I'm not seeing what the conversion rules are for this.

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