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


Please Help Members By Posting Answers For Below Questions

How to convert a string to a date in oracle database?

539


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

1799


Which environment variables are absolutely critical in order to run the OUI?

1642


How to insert multiple rows with one insert statement in oracle?

562


Is the After report trigger fired if the report execution fails ?

2396






How to find the duplicate rows count from employees table in oracle?

537


How to write a query with an inner join in oracle?

555


How to define a procedure inside another procedure?

537


What is a dynamic performance view in oracle?

594


What is columnar storage what is the advantage?

536


Explain about functional dependency and its relation with table design?

544


State any two functions of oracle?

628


Explain view?

571


How to define a data field as not null?

628


Explain the use of show option in imp command.

630