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

Explain how a source file is populated?

0 Answers  


Describe stream connector?

0 Answers  


What is the difference between lookup and sparse lookup?

1 Answers  


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.

3 Answers   Cognizant, UHG,


how to load meta data

2 Answers   IBM,






Why do you need stage variables?

0 Answers  


In a table 100 records are there after 50records job is aborted how can u insert all records in target table.

1 Answers   Cap Gemini,


Star Schema vs. Snow Flake Schema. What is the best model for DW? Give example for both the models performance wise?

3 Answers   IBM, TCS,


What is container and then types?

1 Answers  


1. How many People are part of your Team? 2. Explain how you create jobs or flow of project? 3. Join Stage vs Lookup vs Merge Stage 4. Summation scenario based question - How you find sum of salary for a specific employee (Explain stages and flow of job)? 5. Explain Remove duplicates stage ? Can you do sort in this stage? 6. SQL Questions - Joins - Types, Difference between Join and Union 7. Unix Questions - How you run the Job, How you list all jobs in project 8. Explain Environmental Variables? 9. SQL Scenario - If you have 3 Identical record in a Table, Ex: 1, Ram, Xyz; 1, Ram, Xyz; 1, Ram, Xyz; Delete only 2 of the records and keep only 1 using the Delete query. How you will you do this?

1 Answers  


what is advantages of snowflake when it is used?

3 Answers   IBM,


how can we send even and odd records from a sequential file to two different targets

10 Answers   IBM, iGate, TCS,


Categories