Skip to Main Content
  • Questions
  • Move data from one table to other in PLSQL procedure

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, SILAMBARASAN.

Asked: September 19, 2016 - 6:58 am UTC

Last updated: September 19, 2016 - 4:08 pm UTC

Version: 11g

Viewed 1000+ times

You Asked

HI tom,
i have one master table which has more record . i need to move that record into temp table while moving data if any error appear i need to save that row in error table. how to do this ?

and Connor said...

Steven has a nice article on using BULK_EXCEPTIONS to capture errors during bulk processing. In this way, you can cycle through any row that generated an error and take whatever action you need.

http://www.oracle.com/technetwork/issue-archive/2012/12-sep/o52plsql-1709862.html

If you get stuck, add a review and we'll show more examples.


Is this answer out of date? If it is, please let us know via a Comment