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 user in sql?
If i insert record in table A and these record should update in table B by using Trigger.How to achieve this.
What are the types of sql commands?
How can we make an if statement within a select statement?
Are there any features that are decommissioned in 11g that are not present in 11g?
What are actual parameters and formal parameters?
Does oracle use sql?
How delete a row in sql?
define data blocks ? : Sql dba
Explain the types of joins in sql?
What are the 3 modes of parameter?
What is difference between sql function and stored procedure?
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)