Rows to columns
Posted: Fri Dec 09, 2005 11:39 pm
Hi,
How do you achieve the following in a parallel job:
I have a source in the following format
Id Name
----- ---------
1 xx
1 yy
1 zz
2 xx1
2 yy1
2 zz1
3 xx2
3 yy2
3 zz2
I want to get the data in the target as following
id name1 name2 name3
----- -------- ---------- ----------------
1 xx yy zz
2 xx1 yy1 zz1
3 xx2 yy2 zz2
Are there any specific stage to do this.
Any help is highly appreciated.
Thanks
How do you achieve the following in a parallel job:
I have a source in the following format
Id Name
----- ---------
1 xx
1 yy
1 zz
2 xx1
2 yy1
2 zz1
3 xx2
3 yy2
3 zz2
I want to get the data in the target as following
id name1 name2 name3
----- -------- ---------- ----------------
1 xx yy zz
2 xx1 yy1 zz1
3 xx2 yy2 zz2
Are there any specific stage to do this.
Any help is highly appreciated.
Thanks