Hi,
I have 3 records,
1 Srini
1 vasa
2 reddy
now i want o/p like this
1 Srinivasa
2 reddy
could u please help in this
Thanks in advance.
Answer Posted / radhakant kumar
hey it is just a example it could be like this..
1 Srini
1 vasa
1 aaaaa
the complete solution will be
say col1 and col2 so define stage variable in transformer
col1--------------->a(interger)
col2--------------->b(varchar)
if a=c then d:b else ''-->e(varchar)
e----->d(varchar)
a----->c(integer)
then in target pass e value to col2 and map col1 to col1
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
How many types of stage?
What are stage variables, derivations and constants?
What is the difference between in process and inter process?
Difference between sequential file and data set?
Give an idea of system variables.
What is a merge?
Hi guys, Please design a job for dis requirement with derivation(solution). my source table like dis. emp_no qualification 1 a 1 c 2 a 3 c 3 b To loaded to target like dis emp_no qualification 1 b 2 b 2 c 3 a my requirement is every employer have three qualifications i.e a,b and c. what qualification missed in source table that will be move to target systems. Hope u got it the requirement. Right Thanks.
Notification Activity
what is flow of project?
Explain Quality stage?
What is the purpose of pivot stage and types of containers in datastage
how to abort the job its matain duplicates?
How do y read Sequential file from job control?
How complex jobs are implemented in datstage to improve performance?
What are stage variables and constants?