How to display multiple rows data in single row

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
nagarjuna900
Participant
Posts: 35
Joined: Mon Dec 29, 2008 2:22 am
Location: chennai

How to display multiple rows data in single row

Post by nagarjuna900 »

HI,

I have the data with two columns with two rows as follows.

IS_AVAILABLE_SRDR SRDR_COUNT

X 5
Y 6

The output required as follows.

IS_AVAILABLE_SRDR SRDR_COUNT IS_AVAILABLE_SRDR SRDR_COUNT
X 5 Y 6

How to get the above output.

Thanks,
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Search the forum for "Vertical Pivot"
You are the creator of your destiny - Swami Vivekananda
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

:idea: If it is just 2 rows, you can manually edit the file.

You can use space as record delimiter.
Post Reply