if i have two tables
table1 table2
1a 1a,b,c,d
1b 2a,b,c,d,e
1c
1d
2a
2b
2c
2d
2e
how can i get data as same as in tables?chandu
how can i implement scd typ1 and type2 in both server and in parallel?chandu
field1 field2 field3
suresh , 10,324 , 355 , 1234
ram , 23,456 , 450 , 456
balu ,40,346,23 , 275, 5678
how to remove the ,inthe fields?


Answers were Sorted based on User's Feedback



if i have two tables table1 table2 1a 1..

Answer / pakkya

implement scd type1 -
simply overwrite with new data
implement scd type2 -
use merge stage to do an inner join on all columns after
sorting data, rows that do not join from merge result are
your changes
remove ',' - use Trim function with A option that removes
all occurences of ','

Is This Answer Correct ?    1 Yes 0 No

if i have two tables table1 table2 1a 1..

Answer / murari

By using the sort stage we can remove the duplicates by setting the option ALLOW DUPLICATES=FALSE......

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Data Stage Interview Questions

source file is having 5 records while moving into target it want to be 10 records

4 Answers   IBM,


what is the difference between lookup stage reject link and merge stage reject link in datastage Parallel jobs? interm of output in Merge Reject link and Look Up Reject link ?

4 Answers   HCL,


How we can covert server job to a parallel job?

0 Answers  


How do you reject records in a transformer?

0 Answers  


Define repository tables in datastage?

0 Answers  






How the ipc stage work?

0 Answers  


What is process model?

0 Answers  


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

0 Answers  


What could be a data source system?

0 Answers  


HOw Hash Partion Works Thank you in Advance i have doubts on Hash Partion TEch Could please give me the clear understandable notation example e_id,dept_no 1,10 2,10 3,20 4,20 5,30 6,40 i have TWo Nodes/Three Nodes My questions are: 1).if i select hash key as e_id how Hash partion will distribute the data in to two NOdes/three NOdes 2).if i select hash key as dept_no how Hash partion will distribute the data in to two NOdes/three NOdes sivakumar.katta7@gmail.com

5 Answers   FIS,


in aggregator , how can i get the sum in readable format

4 Answers   IBM,


can we see the data in fixed width file? how can u change the datatype of fixed width files?

1 Answers   Infosys,


Categories