How to insert data into two tables using single control file?

Answer Posted / rajiv

LOAD DATA
APPEND
DISCARDMAX 9999999
INTO TABLE UPLOAD_HDR
WHEN agreementno='~'
FIELDS TERMINATED BY ","
(
AGREEMENTNO CHAR(20),
FILENAME CHAR(30),
BATCHID constant 112)
INTO TABLE UPLOAD_TMP
WHEN agreementno <>'~'
FIELDS TERMINATED BY ","
TRAILING NULLCOLS
(
AGREEMENTNO POSITION(1) CHAR(20),
EMI_AMT INTEGER EXTERNAL(16),
BATCHID constant 112)

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what is applysys in oracle application database schema, what is apps?

925


Are you familiar with internet architecture of oracle apps 11i?

815


Which oracle apps version you are very confident in?

927


What is oracle soa suite?

957


How to move the one file from one instance to another instance? And your scripts also?

813


please any one provide the oracle erp technical interview questions on modules(PO,AP,AR,INV,GL,OM)wise to my mail id..narendra_609@yahoo.co.in

3323


Can you define an erp system?

872


what are the balancing segments in AR?

1834


Which oracle applications pl/sql standard apis you are familiar, have you used most of them?

852


List the types of flexfield?

782


What are the Standard Reports and Forms in HRMS?

1961


can we get profile values in report without using user exists is it possible how?

2526


what is the difference between request group and request security in oracle apps?

5424


How can a process be deployed in soa?

885


please send me forms, xml pulisher questions,answers

1878