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
Can you implement SCD2 using join, transformer and funnel stage?
Explain the situation where you have applied SCD in your project?
Explain Quality stage?
What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)
Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.
Hi All , in PX Job I have passed 4 Parameters and when i run the same job in sequence i dont want to use those parameters , is this possible if yes then how
What is a datastage job?
What are routines in datastage?
What are stage variables, derivations and constants?
What are the partitioning techniques available in link partitioner?
What are orabulk and bcp stages?
how to delete one row in target dataset
Highlight the main features of datastage?
What are the areas of application?
how do u catch bad rows from OCI stage? And what CLI stands for?