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 |
what is the difference between implicit conversions and explicit conversions?
How do you determine the current isolation level? : Transact sql
Can we write create command in the plsql block?if possible how?
How can we overcome recursive triggers in SQL?
What is a subquery in sql?
what is the difference between granting and creating a view?
How do sql triggers work?
What is the non-clustered index in sql?
Write an sql query to select all records from the table?
Can we use commit or rollback in trigger? If yes, then how. Please explain with a suitable example?
From an Employee table, how will you display the record which has a maximum salary?
29 Answers Cap Gemini, Exilant, Synechron,
What is union, minus and interact commands?
Oracle (3259)
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)