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
Define repository tables in datastage?
Source has 2 columns: USA,NewYork INDIA,MUMBAI INDIA,DELHI UDS,CHICAGO INDIA,PUNE i want data in target like below: INDIA,MUMBAI1 INDIA,DELHI2 INDIA,PUNE3 USA,NEWYORK1 USA,CHICAGO2
Explain the situation where you have applied SCD in your project?
What is the difference between informatica and datastage?
If you want to use the same piece of code in different jobs, how will you achieve it?
What is the difference between datastage and datastage tx?
how to sort two columns in single job in datastage.
What are sequencers?
Triggers,VIEW,Procedures
What is size of a transaction and an array means in a datastage?
What is the process of killing a job in datastage?
How do you import and export data into datastage?
What is a ds designer?
How can we improve performance of data stage jobs?
describe the Steps to confiure a Qlogic switch