in reply to Help with DBD::Oracle Blobs
$sth->bind_param(1, $value, ... ); $sth->bind_param( 2, $value, ... );
my $sql = "INSERT INTO sometable (x, y, z, blobby) VALUES (?, ?, ?, ?) +" my $sth = $dbh->prepare( $sql ); $sth->bind_param( 1, $x ); $sth->bind_param( 2, $y ); $sth->bind_param( 3, $z ); $sth->bind_param( 4, $lob_value, { ora_type => ORA_BLOB }); $sth->execute();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help with DBD::Oracle Blobs
by merlyn (Sage) on Mar 04, 2005 at 21:38 UTC | |
by jbrugger (Parson) on Mar 04, 2005 at 21:53 UTC |