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