What is the best strategy to use COMMIT in a pl/sql loop?
Answers were Sorted based on User's Feedback
Answer / sudhakar naraparaju
It depends on the number of records being looped. If it is
a huge table then it is better to commit after a specific
number of transactions are completed. Even better to do
inside the loop so that the data is commited for every set
looped.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / kalyan maddipati
We can use savepoint. This transactional control statement
can be used to save records at perodic intervals
Is This Answer Correct ? | 0 Yes | 0 No |
Does oracle roll back the transaction on an error?
how to shutdown mysql server? : Sql dba
What is set serveroutput on in pl sql?
There is a table, In one column it has implemented a index, but the index is disturbed by the regular dml statements.. but still we need to keep the index. how it is possible?
what are the differences between char and varchar? : Sql dba
What does count (*) mean in sql?
How to get second highest salary from a table
what is meant by nl2br()? : Sql dba
What is PL/SQL Records?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
what are the differences between require and include, include_once and require_once? : Sql dba
what is the use of set statement in tsql? : Transact sql