in reply to Re: Re: Oracle BLOBs DBD::Oracle
in thread Oracle BLOBs DBD::Oracle
I see a few things in your code. First, don't quote $blob. Second, you have to use bind variables when working with BLOBs. Don't try to just put $blob into the statement as a quoted string. Finally, "SQL_LONGVARBINARY" looks fishy to me. I have always used code that looks like this:
$sth->bind_param(1, $serialized, {ora_type => ORA_BLOB, ora_field => ' +data' });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Oracle BLOBs DBD::Oracle
by PerliKnight (Acolyte) on Apr 09, 2003 at 08:48 UTC | |
by perrin (Chancellor) on Apr 09, 2003 at 22:28 UTC | |
by PerliKnight (Acolyte) on Apr 10, 2003 at 07:47 UTC |