in reply to BLOBs and error ORA-01465

To paraphrase a use group post i found with google:

You can't insert a blob object(or any large object) using this standard statement.

You may use pl/sql block with dbms_lob package to insert large objects or write codes to do so(java with jdbc or perl with dbi)...

You can search technet.oracle.com for the dbms_lob package.. For sample codes of java with jdbc to insert large object, you can find it under the $ORACLE_HOME/jdbc/ if you install O8i with jdbc drivers..(the sample codes also available in the technet)

For perl, if you install the DBI and DBD for oracle, pls read the readme file and you will find it.

You can find the original post here .

Tim Bunce also mentions it wont work with ActiveStates version DBD::Oracle here (Which isnt going to be much help to you.)

I recently compiled perl 5.6.1 with the latest version of DBD/DBI (on Solaris 2.6) and the only way I could get it to compile was force it to compile as Oracle 7. I wonder if your problem may be related to the compilation of your DBD?

Replies are listed 'Best First'.
Re: Re: BLOBs and error ORA-01465
by DrWhy (Chaplain) on Jul 25, 2002 at 20:23 UTC
    (NB: fever and I are working on the same project)

    We are using vanilla perl 5.6.1 and we were able to successfully build DBD::Oracle against Oracle 8.1.7 (on Solaris 7). We've been using this system successfully for all kinds of interaction between perl and Oracle including pushing CLOBs in and out of Oracle, using simple insert/select statements. DBD::Oracle is designed, according to it's documentations, to allow you to do this with both BLOBs and CLOBs.

    So the problem and frustration we've been facing comes from the fact that DBD::Oracle doesn't appear to be behaving for us according to it's documentation,