How to read a BLOB column from Database?
Hi,
I need to read a BLOB column from database. My oracle version is oracle 10g. I tried the below command to fetch:
select utl_raw.cast_to_varchar2(dbms_lob.substr(BLOB_FIELD)) from TABLE
but the result is some junk characters.
I think this query will go fine with CLOB data type. But my data type is BLOB and it’s not an image file. .
Can anyone please suggest any method to do this?
Thanks...