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...


A table containg 100 records B table containg 20 records we
have to join two tables in left outer it containg target 100
records but target containg 101 record at that time what is
the issue arise

Answers were Sorted based on User's Feedback



A table containg 100 records B table containg 20 records we have to join two tables in left outer i..

Answer / srinivas

Hi,qustion was not clear.

As per my understanding After join if we get 101 records in target, then we can say one duplicate was there in B table.
While joining the tables by using left outer total records from left table and matched records from both will be load into target.
so i will give small example

We have two tables A & B
A having

Id Name
1 sri
2 hari
3 prasad

B Having
LeavesId
1
1
2
3

If will do the left outer join u will get below

No name leavesid
1 sri 1
1 sri 1
2 hari 2
3 prasad 3.

As per above example may help u to demonstrate the your query.

Thanks
Sri

Is This Answer Correct ?    26 Yes 0 No

A table containg 100 records B table containg 20 records we have to join two tables in left outer i..

Answer / geetha

Extra 1 records  is populated in case of duplicate records in the reference tables. lets say we have emp_id A in left table and we have two emp_id A ,in this case we will have duplicate records in the output.

Is This Answer Correct ?    2 Yes 0 No

A table containg 100 records B table containg 20 records we have to join two tables in left outer i..

Answer / hirdesh srivastava

If you join two tables either equi join, left outer join or right outer join, result records can't be greater than max record of a big table. Until or unless you go for full outer join. e.g. if there are 100 records in one table and 20 records in other table then if you go for any join except full outer join result records won't be greater than 100 records. 

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Data Stage Interview Questions

If you want to use the same piece of code in different jobs, how will you achieve it?

0 Answers  


CAN ANY ONE TELL ME THE ARCHITECTURE OF DATASTAGE CLEARLY....

2 Answers   Wipro,


How we can covert server job to a parallel job?

0 Answers  


where we use column generator stage in real time scenario?

5 Answers   TCS,


how to cleansing data

6 Answers   Cap Gemini,


What are some prerequisites for datastage?

0 Answers  


how can u connect the client system directly at any time?

1 Answers   IBM,


source contains 2 columns comes to target 4 columns how

1 Answers   IBM,


i have a job with 3 possibiliies finish with ststus ok abbort warning how do you handle these 3 in job sequence? explain the situation where you have appiled scd in your project? chandu

0 Answers  


Hi Gus, Can u pls tell me How can u Call the Shell Scripting/Unix Commands in Job Sequence?

3 Answers   IBM,


how to find out number of records imported into source file?

1 Answers  


What are the types of hashed files in data stage

0 Answers  


Categories