convert column data in to rows
Posted: Thu Oct 18, 2012 4:27 am
Hi All,
I have the below scenario and my pinput data is as below
Input
-----
Id, Name
1, r;b;c
2 a;d;g;h;j
Name field has data which is ';' delimited but it is one record
I would like my input to be as shown below:
Output
------
Id, Name
1,r
1,b
1,c
2,a
2,d
2,g
2,h
2,j
Any help here please.
Thanks
Cherry
I have the below scenario and my pinput data is as below
Input
-----
Id, Name
1, r;b;c
2 a;d;g;h;j
Name field has data which is ';' delimited but it is one record
I would like my input to be as shown below:
Output
------
Id, Name
1,r
1,b
1,c
2,a
2,d
2,g
2,h
2,j
Any help here please.
Thanks
Cherry