Yet another Pivot Question (bit different though)
Posted: Wed Jun 04, 2008 9:37 am
hi,
I Have an input file containing a single pipe-delimited column and I want to be able to convert the pipe delimited 'subcolumns' into 'real' columns then pivot on them - the catch is I dont know before hand how many of the subcolumns there are
e.g.
source
Key DelimCol
A 1|4|5
B 7|8
C 9
target
A 1
A 4
A 5
B 7
B 8
C 9
As mentioned I cant be sure how many of the 'subcolumns' there are going to be
There are only a few thousand source records so performance not an issue
I believe the answer may be in the restructure staqges in PX (solution can be server or PX) but not to sure of best way forward
Thanks in advance
I Have an input file containing a single pipe-delimited column and I want to be able to convert the pipe delimited 'subcolumns' into 'real' columns then pivot on them - the catch is I dont know before hand how many of the subcolumns there are
e.g.
source
Key DelimCol
A 1|4|5
B 7|8
C 9
target
A 1
A 4
A 5
B 7
B 8
C 9
As mentioned I cant be sure how many of the 'subcolumns' there are going to be
There are only a few thousand source records so performance not an issue
I believe the answer may be in the restructure staqges in PX (solution can be server or PX) but not to sure of best way forward
Thanks in advance