Hi,
I have the following input -
Table_name attribute value
table_000 field1 1200
table_000 field2 1300
table_000 field3 as
table_001 field1 0
table_001 field2 1100
table_001 field3 ad
I want the data in the follwong format -
table_000 field1 1200 field2 1300 field3 as
table_001 field1 0 field2 1100 field3 ad
Can somebody help here? I am new to datastage.
Thanks,
Vishal
how to Convert row data to columns
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 39
- Joined: Mon Feb 13, 2012 1:30 pm
Rows to columns is also known as a 'vertical pivot', something you could do an exact search for here to get all kinds of help. Which also means you should look at the Pivot stage but the capabilities there depend on your exact 8.x version.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 39
- Joined: Mon Feb 13, 2012 1:30 pm
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore