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 trigger and storedprocedures
What are sql functions? Describe in brief different types of sql functions?
What are functions in sql?
what is cross join? : Sql dba
i have one table with accounts and amounts as colums.accounts with columns c and d. and amounts with values 1000,2000,3000 for c and 4000,5000,8000 for d.i need to find the sum of these accounts c and d individually and find the differences between their sum using one select statement.
what are the different tables present in mysql? : Sql dba
How many databases can sql express handle?
What is the difference between alter trigger and drop trigger statements?
Which data type is a composite type?
how to saw triggers output in pl/sql database?
How do rank () and dense_rank () differ?
I want to execute a piece of code before calling a procedure. How to achieve it?