finpro has asked for the wisdom of the Perl Monks concerning the following question:
use DBI; use DBD::Oracle qw(:ora_types); my $oracle_conn = DBI->connect("DBI:Oracle:host=***;sid=***;port=***", + "***","***") or die "Couldn't connect to database: " . DBI->errstr; my $out_data; my @row; my $sth = $oracle_conn->prepare(" begin SP_GET_PARAMS(:OUTDATA); end; "); $sth->bind_param_inout(":OUTDATA", \$out_data, 0, {ora_type => ORA_RSET } ); $sth->execute(); while ( @row=$out_data->fetchrow_array()) { } result: DBD::Oracle::st fetchrow_array failed: ORA-03115: unsupported network +datatype or representation (DBD ERROR: OCIStmtFetch) Oracle version: Oracle9i Enterprise Edition Release 9.2.0.8.0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling oracle stored procedure
by finpro (Novice) on Nov 28, 2007 at 11:46 UTC |