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

What is recovery manager(rman) backup in Oracle?

878


What is the difference between truncate & delete command?

862


What operating systems are supported by oracle database 10g xe?

795


What is the quickest way to fetch the data from a table?

805


What is a cursor and what are the steps need to be taken?

790


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

2020


I creat Credit memo in AR. Now i want revers the Credit Memo.how you can revers that what out any aditional entry.

2088


What happens if you use a wrong connect identifier?

713


how the indexes are stored in the Oracle Database?

1956


What is columnar storage what is the advantage?

731


How to add another datafile to a tablespace?

808


Please explain compound trigger in oracle?

803


How to get execution statistics reports on query statements?

809


what is the difference between substr and instr function in oracle?

812


How to delete multiple rows from a table in oracle?

774