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 |
When the mutating error will comes? and how it will be resolved?
how to increment dates by 1 in mysql? : Sql dba
Why is a primary key important?
can i call procedure in package
What does joining a thread mean?
what is SCALAR Queries?
what is meant by DML?
what is clause? : Sql dba
Can we use more than one null value for unique key?
31 Answers A1 Technology, Wipro,
Is time a data type in sql?
what are the differences among these table level lock modes - IN SHARE MODE, IN SHARE UPDATE MODE, IN EXCLUSIVE MODE ?
where are cookies actually stored on the hard disk? : Sql dba
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)