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

I am having two tables called MASTER and DETAIL. I want to
insert records to both tables. But one condition is that
whenever the insert for MASTER table is success then only
the records will inserted into the DETAIL table, otherwise
abort the job. How can u design this job?

Answer Posted / subhash

First Load the MASTER table.
Next, Load the DETAIL table with 'look up' on MASTER table.
In the look up, set the look up condition as 'FAIL'.

For each record from SOURCE, If the look up record is not
loaded into the MASTER table.. the job will 'Abort' on look up
failure.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

2432


There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this

2232


What are orabulk and bcp stages?

1110


What are the different layers in the information server architecture?

1116


What is oci?

1286


What are the benefits of datastage?

1228


Can you explain how could anyone drop the index before loading the data in target in datastage?

1488


What are the types of containers and how to create them?

963


What are the functionalities of link partitioner and link collector?

993


What are the components of datastage?

1112


What is apt_config in datastage?

1124


how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.

3325


What is ds designer?

1082


What are the various kinds of the hash file?

1136


What is orabulk stage?

1032