Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Report question for BLOB data type

SteveSherrod
Explorer
0 Likes
519

I'm creating a report to show the email archives, but I can't get the body to display because it's a data type of BLOB.  Does anyone know how to get a BLOB to display in a report?

1 ACCEPTED SOLUTION
Read only

SteveSherrod
Explorer
0 Likes
491

I was able to get this to work using the following in the select statment of my query:

to_char(UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(body,
2000,1)))  body

I was able to get this to work using the following in the select statment of my query:

to_char(UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(body,
2000,1)))  body

1 REPLY 1
Read only

SteveSherrod
Explorer
0 Likes
492

I was able to get this to work using the following in the select statment of my query:

to_char(UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(body,
2000,1)))  body