at source level i have 40 columns,i want only 20 cols at
target what r the various ways to get it

Answers were Sorted based on User's Feedback



at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / jaimy chacko

Use Modify Stage and Drop the columns that are not needed . Or Use a Transformer and take the links tat are only needed(make sure that RCP is not marked )

Is This Answer Correct ?    15 Yes 0 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / kalyanreddy

Hi,

1. based in reuirement if you need 20 columns, you have to
select 20 columns in database query.

2. if source is file, use transformer stage and populate
require 20 columns only

3. if source is database or file you can use copy stage
insted of transformer and modify.

Is This Answer Correct ?    7 Yes 1 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / ram

In the transform stage u select wich coloums u want those
coloums only drage from input link to output link.

Is This Answer Correct ?    5 Yes 1 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / balaji

Using transformation stage
How t o use:
Double click transformation stage

Select 20 columns

Drag and drop there target links.

Click on Ok

Is This Answer Correct ?    1 Yes 0 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / madhu tallapaneni

Use COPY , MODIFY, Transformer
Coming to performance point of use Modify or Copy stage instead of transformer stage while dealing with huge volume of data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

I have 3 jobs A,B and C , which are dependent each other. I want to run A & C jobs daily and B job run only on sunday. how can we do it?

1 Answers   CGI,


How to convert alpha Numeric values to alpha using functions?

1 Answers   CTS,


What is the difference between SQl Loader and OCI in datastage?

2 Answers   CSC,


is it possible to access the same job by two users at a time in DataStage?

2 Answers   IBM,


How to Convert a string function to date function by using only sequential file stage with out using other stages ?

5 Answers   TCS,






I WANT TO SEND SYSDATE AS PARAMETER,SO WHAT COMMAND I SHOULD USE TO CALL SYSDATE?

4 Answers   ME,


ename like ibm,tcs,hcl need display those records only how?

2 Answers  


country, state 2 tables r there. in table 1 have cid,cname table2 have sid,sname,cid. i want based on cid which country's having more than 25 states i want to display?

3 Answers   Wipro,


what is flow of project?

0 Answers   HSBC, IBM,


I have 2 Files like fileA fileB Output1 Output2 Output3 1 6 1 6 11 2 7 2 7 12 3 8 3 8 13 4 9 4 9 14 5 10 5 10 15 6 11 7 12 8 13 9 14 10 15 please let know

6 Answers  


What are the types of jobs we have in datastage?

0 Answers  


Field,NVL,INDEX,REPLACE,TRANSLATE,COLESC

0 Answers   CTS,


Categories