Skip to Main Content

SQL & PL/SQL

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!

ORA-24345: A Truncation or null fetch error occurred

486186Jun 12 2008 — edited Jun 3 2013
Hi,
I have a table with a CLOB that contais encoded an compress data.
I'm trying to create a procedure to manipulate that data, to migrate to a new data model, and for that i need to get the data in that column as text, uncompressing and decoding it.
When i do the following query i get the ORA-24345 error.
select UTL_COMPRESS.lz_uncompress(utl_encode.BASE64_DECODE(utl_raw.cast_to_raw(EVENT_BODY)))
from auditing where index__ = 'vitria:665586';

Does anyone know of a way to overcome this error within the PL/SQL code?

Thanks,
Alex da Costa
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2013
Added on Jun 12 2008
11 comments
18,021 views