How to Select a BLOB column

I've a table which has a BLOB column, I wanted to Select the data in the BLOB field, how do I do this. Normal select query doesn't help in this case

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
what programming language?
what do you want to do with the data?
do you need all the data?
prasen120998Author Commented:
I'm using Oracle8.1,
Yes, I want all the data in the Blob field
prasen120998Author Commented:
I need to check/view the data stored in this field
what information is in that blob? pure text or some binary information? how big is it?

If it contains text information, you can still view or check them through simple sql by using: UTL_RAW.CAST_TO_VARCHAR2(<blob column>)

as this:

  select utl_raw.cast_to_varchar2(blobcol) from table1;


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.