Bro. Doug has asked for the wisdom of the Perl Monks concerning the following question:
# works my $dbh = DBI->connect( 'dbi:Oracle', 'SCHEMA', $pwd ) ; my $sth = $dbh->prepare( 'update TABLE set BLOBCOL=:data' ); $sth->bind( ':data', $binarystuff, {ora_type=>ORA_BLOB } ); $sth->finish ; # doesn't work my $dbh = DBI->connect( 'dbi:Oracle', 'NONSCHEMA', $pwd ) ; my $sth = $dbh->prepare( 'update TABLE set BLOBCOL=:data' ); $sth->bind( ':data', $binarystuff, {ora_type=>ORA_BLOB } ); $sth->finish ; # The error: # Bad file descripor: ORA-04043: object SCHEMATABLE.TABLE # does not exist. (DBD SUCCESS: OCIDescribeAny(view)/LOB # refetch) at <file> line ##. #
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LOB's refetch improperly
by bart (Canon) on Mar 19, 2007 at 18:28 UTC | |
by Bro. Doug (Monk) on Mar 19, 2007 at 18:48 UTC | |
by bart (Canon) on Mar 19, 2007 at 20:28 UTC | |
by Bro. Doug (Monk) on Mar 19, 2007 at 22:24 UTC | |
|
Re: LOB's refetch improperly
by andye (Curate) on Mar 19, 2007 at 18:29 UTC | |
by Bro. Doug (Monk) on Mar 19, 2007 at 18:55 UTC | |
by andye (Curate) on Mar 19, 2007 at 19:17 UTC | |
by Bro. Doug (Monk) on Mar 19, 2007 at 22:36 UTC | |
|
Re: LOB's refetch improperly
by dmorgo (Pilgrim) on Mar 19, 2007 at 19:19 UTC | |
by Bro. Doug (Monk) on Mar 19, 2007 at 22:22 UTC |