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.



i have a table with 1 lac of data.i want to insert this data into another table. i want every 5000 o..

Answer / 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

More Oracle General Interview Questions

What is parameterized cursor in oracle?

0 Answers  


What is procedure overloading in oracle?

0 Answers  


i want department wise maxmum salary and empolyee name

9 Answers  


What are the different types of modules in oracle forms?

0 Answers  


I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

0 Answers   IBM,






What is a cursor in oracle?

0 Answers  


Explain the use of record option in exp command.

0 Answers  


How to use null as conditions in oracle?

0 Answers  


How to delete an existing row from a table in oracle?

0 Answers  


How to omit columns with default values in insert statement in oracle?

0 Answers  


what is the difference between rollback & commit? can a foreign key has null value?

6 Answers  


What is oracle open database communication (odbc)?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)