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

How to store pictures on to the database?

0 Answers  


How to apply filtering criteria at group level in oracle?

0 Answers  


how the indexes are stored in the Oracle Database?

0 Answers  


How to create a table in a specific tablespace?

0 Answers  


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

6 Answers  






select trunc(round(156.00,-1),-1) from dual;

2 Answers  


How to define an external table with a text file?

0 Answers  


how to find the n'th highest salary from emp ?

10 Answers  


Differnce between view and index

3 Answers  


What are Schema Objects ?

2 Answers  


which clause we are not used in where clause?

3 Answers   Semantic Space,


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

0 Answers   Microsoft,


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)