hi this is kiran
i have one table i want divide the table with two different
table like even rows and odd rows
how can i do this one
tell me plzz

Answer Posted / nish

You could also go for a column generator and cycle the values 1,0.
then filter based on this column.

It will be much faster then employing a transformer stage having to generate @rownum and then do a mod calculation.

Trying to reduce the number of transformer stages is a key efficiency best practice.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of datastage?

719


What are the difference types of stages?

619


What is the difference between account and directory options ?

618


how many rows sorted in sort stage by default in server jobs

3554


What are the primary usages of datastage tool?

622






1)s.key generate 1 to 700 records today. tomorrow another 400 will updated how to update the records using s.key generator? 2)source is like :-- DB --> T/F stage1 --> seq1file T/f 1 is linking with T/F2 ---> seq 2 how to load the data? in source i given some conditions those r going in seq1. The another data will going to seq2 how to do this ?

1623


What are iconv and oconv?

769


how to run a sequential file stage in parallel if the stage is used on the TARGET side

1129


what is the difference between == and eq in UNIX shell scripting?

970


Which commands are used to import and export the datastage jobs?

978


What is the purpose of pivot stage and types of containers in datastage

609


What is a folder? Difference types of stages?

624


How do you reject records in a transformer?

624


What is the difference between odbc and drs stage?

637


what is the use of materialized view?

954