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 |
How can you fetch first 5 characters of the string?
Is inner join faster than left join?
How many types of cursors are available in pl/sql?
How can you fetch common records from two tables?
Where the Pre_defined_exceptions are stored ?
Is sql a programming?
What is mutating trigger?
What are the different types of joins and explain them briefly.
How to find last day of the month in sql query
Can we insert data into materialized view?
function can return multiple value?how give give sample coding
2 Answers 3i Infotech, CTS, Excelity Global, UHG,
what is the different between now() and current_date()? : Sql dba