Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How to Insert a JPG to a long raw column using OCI functions.
Hi,
I am trying to insert a JPG file to an oracle Database (in a long raw column) using Oracle Call Interface functions.
I open the JPG in binary mode, and store it in a buffer. However when I am trying to execute this statement: ocidb.exec ("insert into blob_table values (%d,'%s'),rowID, JPG_Buffer) I get an oracle error number 1465
Has anyone did this before?
Cheers for helping me. Received on Tue Aug 17 1999 - 03:03:37 CDT
![]() |
![]() |