Ask the Expert

How to store a picture or graphic in Oracle database

I am a postgraduate student doing some reasearch on the Oracle DBMS. I would like to know how I can store a picture or graphic (BLOB) in my database using Oracle.

    Requires Free Membership to View

The answer all depends on your development platform. Different programming languages accomplish this task in different manners. After all, variable declaration is not the same in different programming languages, so why should storing BLOBs be the same?

About the best I can do is to refer you to the Oracle documentation. Examine the document below:

http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10796/toc.htm

In this docuent, you will see step-by-step examples in PL/SQL, C with Oracle's OCI, C++, Cobol, Visual Basic, and Java.


This was first published in October 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: