Hi Everyone
I am exploring a data storage scenario that I would like a little guidance on. The scenario is that a file may be received with any number of columns(fields), and this needs to be stored in a single table. The data extraction of raw information into columns (fields) is going to produce an unknown quantity. What I need to be able to do is to turn the data from the following format:
Filenum | Rownum | Field_1 | Field_2 | etc.....
1 | 1 | ABC | DEF | etc....
into
Filenum | Rownum | Fieldname | Fieldvalue
1 | 1 | Field_1 | ABC
1 | 1 | Field_2 | DEF
I am wondering if anyone has done something similar to this or might be so kind as to point me in the right direction. I was thinking of trying to work with the row denormaliser / row normaliser to achieve the desired result, but I keep turning myself around with it. Any help would be greatly appreciated.
Kind Regards
The Frog
I am exploring a data storage scenario that I would like a little guidance on. The scenario is that a file may be received with any number of columns(fields), and this needs to be stored in a single table. The data extraction of raw information into columns (fields) is going to produce an unknown quantity. What I need to be able to do is to turn the data from the following format:
Filenum | Rownum | Field_1 | Field_2 | etc.....
1 | 1 | ABC | DEF | etc....
into
Filenum | Rownum | Fieldname | Fieldvalue
1 | 1 | Field_1 | ABC
1 | 1 | Field_2 | DEF
I am wondering if anyone has done something similar to this or might be so kind as to point me in the right direction. I was thinking of trying to work with the row denormaliser / row normaliser to achieve the desired result, but I keep turning myself around with it. Any help would be greatly appreciated.
Kind Regards
The Frog