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 |
how to initialize applications?
what do u mean by debit/credit memo invoices?
3 Answers ACC, Convergys, Mascon,
What do you understand by a set of books?
What is the reason for distribution hold. Why invoices will go on distribution variance hold ??
what is the use of format trigger?a
LOCKS?
How many typres of Purchase order and what are those.
What is FORWARD DECLARATION in Packages?
6 Answers British Telecom BT, HCL, Tech Mahindra,
In a table their 20 records.I had update 6 records???How can see and retrieve particular 6 records.i.e.,Latest updated.
10 Answers HCL, TCS,
how to customize the report,please tell me customization steps
which API to return the parameters & valuesets etc
while doing the process of conversion if got any data error out what is the next step to reprocess