Hi
I wonder if anyone know how to catch DML exceptions in an ETL process
For example this code
this is easy since we process row by row but how can we catch the error if we use FORALL/BULK?Code:begin for i in (Select * from dept) loop begin delete emp where deptno = i.deptno; commit; exception when others then dbms_output.put_line('ERROR: ' || i.deptno); end; end loop; end; /
How about PRO*C (possibility of doing this?)
Cheers