What is the best strategy to use COMMIT in a pl/sql loop?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do you partition data?

723


what is a trigger? : Sql dba

760


What is a left inner join?

709


how are mysql timestamps seen to a user? : Sql dba

773


what are properties of a transaction? : Sql dba

760






Explain the order of sql statement execution?

806


What is procedure explain with example?

704


What is sql clause?

740


What is plpgsql language?

713


Explain clause in sql?

748


How to add new employee details in an employee_details table with the following details

823


What is nosql vs sql?

869


What is scope of pl sql developer in future?

745


what is cursor. write example of it. What are the attributes of cursor.

975


Is sql better than access?

714