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.
Answers were Sorted based on User's Feedback
Use transformer stage to achieve the same
| Is This Answer Correct ? | 2 Yes | 0 No |
Use Transformer Stage:
Take two stage variable
sv1= if sv2=DEPT_NO then sv1 : ' ' : EMPNAME
sv2= DEPT_NO
Derivation : Trim(sv1, ' ','L')
U will get output.
| Is This Answer Correct ? | 0 Yes | 1 No |
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 |
what is snow flack schema?
specify data stage strength?
it is possible to load two tables data into one sequential file?if possible how?plz share with me?
can we use sequential file as a lookup
In merge stage can we update the values?
What is PX?
What are the main features of datastage?
I have source file which contains duplicate data,my requirement is unique data should pass to one file and duplicate data should pass another file how?
i have a small question for datastage, After the desinging (i.e., transformations and loading)part, what we can do?
Star Schema vs. Snow Flake Schema. What is the best model for DW? Give example for both the models performance wise?
how does work server jobs?
Thanks to all people who are posting their comments...