PL/SQL (MOSC)

MOSC Banner

Error when using DBMS_LOB.GETLENGTH(BFILE) and DBMS_LOB.LOADBLOBFROMFILE()

edited February 2018 in PL/SQL (MOSC) 7 commentsAnswered

Hi,

I want to insert the content of a file into a BLOB type field.

When I use DBMS_LOB.GETLENGTH(BFILE), the value is always 0. Have anyone encountered this issue?

Another issue is when I use DBMS_LOB.LOADBLOBFROMFILE(). I got error 'ORA-22994: source offset is beyond the end of the source LOB'.

Please help!

Thanks & Regards,

Ying

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center