Tuesday, 14 August 2012

scenario 2



Input -
id     code
111   01,02,03
222   04,05
Expected output  -
id   code
111 01
111 02
111 03
222 04
222 05

2 comments:

  1. Stg Var
    Count(code,',')+1 = StageVariable

    Loop Var
    @ITERATION <= StageVariable
    Field(code,',',@ITERATION)=LoopVariable

    O/P
    id=id
    LoopVariable=code

    ReplyDelete
    Replies
    1. But in transformer there in no loop variable..................can u explain lit bit more

      Delete