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 |
Difference between truncate, delete and drop commands?
one of the column in my table contains the data like SAL ---- 1000 1000 2000 3000 3000 So my requirement is i want output like SAL --- 1000 2000 3000 it mean i want to delete duplicate rows only how should u write query?
What is the syntax to add a record to a table?
What are the 3 types of behavioral triggers?
What is the difference between SQL table and the PLSQL table?
How will you make performance better for application including front end and back
How can analyze query after generating explain plan ?
how to convert character strings to numeric values? : Sql dba
Is join and inner join the same?
What are the different types of a subquery?
Where the sql database files are stored?
Can we use two order by clause in query?