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

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.