Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

it is possible to load two tables data into one sequential
file?if possible how?plz share with me?

Answer Posted / subhash

Lets discuss diff cases:
1. If the two tables having same key column,
then based on that key column we can able join the two
tables. It's horizantal joining.
Ex: Table1 has 10 columns +1Key col
Table2 has 5 columns +1Key col
in target SeqFile we get 10+5+1 columns

2. If the two tables having same metadata,
Then using funnel stage we can perform vertical joining.
whether it may continuous or sequence funnel.
In this case we can add extra columns 'INDICATOR'(1 for
Table1 and 2 for Table2 records in the select query) to
identify records

3. If the two tables not having same metadata & Key column,
We can generate 1 common Key column from Column Generator
Stage- 'DUMMY'(values: 1,2,3,4,...) for 2 tables
Then, we can join based on DUMMY column to get all the
columns from the both tables and load those columns to
SeqFile.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe link sort?

970


How can you write parallel routines in datastage PX?

986


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

2140


What is a datastage job?

973


What are the benefits of datastage?

1191


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

5057


Explain ibm infosphere information server and highlight its main features?

1054


im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination

2119


What is a folder? Difference types of stages?

1115


Differentiate between odbc and drs stage?

1006


What is job control?

1052


What is size of a transaction and an array means in a datastage?

1253


On which Dimension Table you implemented SCD Type in your Project

1976


Different ways a project can be moved to production ?...example ….export-import and Version control.

2404


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

1699