Converting Vertical PIVOTing without using PIVOT stage in DataStage.
Ex:
DEPT_NO EMPNAME
10 Subhash
10 Suresh
10 sravs
Output:
DEPT_NO EMP1 EMP2 EMP3
10 subhash suresh sravs
2) How to implement Horizontal PIVOTing without using PIVOT stage.

Answer Posted / reddymkl.dwh

Use Transformer Stage:
Take stage variable,
sv1 = sv1 : ' ' : DSLink.EMPNAME
Derivation : Trim(sv1, ' ','L')
U will get output.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which warehouse using in your datawarehouse

1682


How to Remove Duplicate using SQL?

846


How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

1702


What is the use of datastage director?

590


What a datastage macro?

638






How many Key we can define in remove duplicate stage?

822


How a server job can be converted to a parallel job?

620


What could be a data source system?

579


whom do you report?

1504


What are the steps required to kill the job in Datastage?

686


1)How will u implement SCD2 by using surrogate key. 2)What are the disadvantages with surrogate key. 3)How will you handle nulls in your project for the varchar, integer data types. 4)Can I use two fact tables in star schema. 5)3 jobs are running on the 2 nodes after I added one more node so can I compile those jobs to run on three nodes.

3504


Difference between IBM DATA STAGE8.5 and DATA STAGE9.1 ?

3381


explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?

1930


CHANGE CAPTURE

896


options available in sequence job to run,validate?

840