How to convart rows to columes in datastage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ntr
Participant
Posts: 110
Joined: Fri Dec 18, 2009 10:30 am
Location: pune

How to convart rows to columes in datastage

Post by ntr »

Hi all
i have require ment like
source details:
empno,ename,marks
100,vijay,90
100,vijay,80
100,vijay,70

my expected result is
empno,ename,marks1,marks2,marks3
100,vijay,90,80,70
could you please help me for above requir ment

thanks
ntr
ETLJOB
Participant
Posts: 87
Joined: Thu May 01, 2008 1:15 pm
Location: INDIA

Post by ETLJOB »

Search the forum with the key word "Vertical Pivoting"
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or perhaps just "vertical pivot". In any case, that is indeed what you need to be doing is called. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply