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 calculate date and time differences in oracle?
State all possible different index configurations a table can possibly have?
What is a directory object?
List the parts of a database trigger.
what is reindexing?
Please explain drop constraint oracle?
Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?
State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.
Explain what are synonyms used for?
How to assign query results to variables?
11. Display the client number and name and the client number and name of the person who referred that client.
What is set operator oracle?
What privilege is needed for a user to create indexes in oracle?
How to sort the query output in oracle?
Can we convert a date to char in oracle and if so, what would be the syntax?