i have a table with 1 lac of data.i want to insert this data into another table. i want every 5000 of data insert use a commit.using counter and if error is comming in the 5000 of data it rollback.
Answer Posted / ana
Use bulk collect limit 5000 and forall with save exceptions and in exception block rollback
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to convert a string to a date in oracle database?
Explain oracle 12c new features for developers?
What are named parameters?
List out the difference between commit, rollback, and savepoint?
What is Virtual Private Database in Oracle?
Which is better Oracle or MS SQL? Why?
you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz
How to execute the package in oracle?
What happens to the current transaction if a ddl statement is executed?
Can group functions be used in the order by clause in oracle?
What is Data Dictionary Cache in Oracle?
Is the After report trigger fired if the report execution fails ?
How to generate query output in html format?
How to create tables for odbc connection testing?
Why we use bulk collect in oracle?