In interface process we have 1000 records i want to commit
every 100 records how? How i can commit every 100 records?
Answers were Sorted based on User's Feedback
Answer / prasad t
there is an option in sqlldr scott/tiger rows=100
rows menas it will commit the rows
rows=100 meands it commits the 100 rows after the insertion
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / prasad reddy
BEGIN
IF l_return_status = 'Y'
THEN
UPDATE xxdc_inv_mtl_item_stg_t
SET process_status = 2
WHERE ROWID = cur_rec.ROWID;
l_txn_validated := l_txn_validated + 1;
ELSIF l_return_status = 'E'
THEN
UPDATE xxdc_inv_mtl_item_stg_t
SET process_status = 3,
error_message = error_message ||
l_error_msg
WHERE ROWID = cur_rec.ROWID;
l_txn_failed := l_txn_failed + 1;
END IF;
IF MOD (l_txn_inserted, p_commit_point) = 0
THEN
COMMIT;
END IF;
Pls look at the above code it may help you out.
Any how here i am giving explanation
take the count of inserted rows and mod by 100 or 1000 or
2000 wat ever you want and do commit;
simple
code
IF MOD (l_txn_inserted, p_commit_point) = 0
THEN
COMMIT;
END IF;
Regards,
-Prasad.
| Is This Answer Correct ? | 2 Yes | 2 No |
what is user exit and wat program do we write in user exit?
is it possible to run the interface without using oracle apps?
WHAT IS THE FORWARDREFERENCE IN PL/SQL?
what is difference between d2k report and oracle apps report
10 Answers Seven Hills, Wipro,
suppose you want to use a trigger in existing standard apps form and its not available in personalization neither in custom.pll. How you will address the issue ?
How can u populate data into po_headers_all segment2 column?
What should be the batch size (number of customer records) general guidelines for optimal performance?
Hi any one plz help me .i need 2 or 3 customized and 2 or 3 development reports on PO module..if any body having plz send me with one by one step ,i mean where u do the customization and wht are the steps u follwed when u do the customization,wht are fields u added or deleted ,How u added or these fields as per clinet requirement and wht are errors u faced .plz send it to my mail id iamvenki@gmail.com
What are the files we submit while your program move to testing instance?
List some exceptions other than NO_DATA_FOUND, TOO_MANY_ROWS and WHEN OTHERS
HOW CAN U KNOW THE STAUS OF PO?
what is item status? name the related table.