Page 1 of 1

sub columns to new columns

Posted: Fri Jul 11, 2008 11:17 pm
by chvenkat.v
hi

i am reading data from oracle like this

empno1 sal

1 10000
1 10000
1 10000
1 12000
here 4 sal are the months of jan.,feb., mar., apr...

output like this report

empno jan feb mar apr may


so, pls help me how get this output using in datastage.
thnks
venkat

Posted: Sat Jul 12, 2008 1:46 am
by ray.wurlod
Vertical pivoting (rows to columns) can be performed in DataStage using a number of techniques. Search DSXchange for "vertical pivot".