Q

Inserting a BLOB in an Oracle table

I am using a French front end to connect to an Oracle database back end. Everything is working well except for BLOBs (I have images in one of the tables). I can insert, update and delete all other items. Can you give me the SQL routine to insert a BLOB in an Oracle table?

I am using a French front end to connect to an Oracle database back end. Everything is working well except for BLOBs (I have images in one of the tables). I can insert, update and delete all other items except BLOBs. Please can you give me the SQL routine to insert a BLOB in an Oracle table?
Data stored in a BLOB datatype is binary data. As such, you will not be able to interact with this data using SQL*Plus, which is text-only. You will have to write routines to insert the binary data into the BLOB column. How you do this depends on your application development platform. This document gives details on inserting BLOBs on a few platforms.
This was first published in August 2006

Dig deeper on Oracle and SQL

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close