Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using LOG ERRORS INTO ERR$

Amin AdatiaOct 27 2014 — edited Nov 5 2014

I am trying to use the LOG ERRORS INTO syntax to capture errors where there maybe file system mount not available. The error I get when doing

insert into table XYZ

select

X,Y,dbms_lob.getlength(BFILENAME('DIR',t1.filename) filesize

from table ABC

where filename is not null;

The error I get is

ORA-22288: file or LOB operation GETLENGTH failed No such file or directory ....

I know that the file exists as I can see and read the file at the OS command.

However, why does mnothing get written to the ERR$ table? Or are such errors not what the ERR$ table is meant for?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2014
Added on Oct 27 2014
6 comments
477 views