in reply to Re: calling stored procedures in oracle
in thread calling stored procedures in oracle

How do I get the output from the stored procedure the $rv is a boolean.
  • Comment on RE: Re: calling stored procedures in oracle

Replies are listed 'Best First'.
RE: RE: Re: calling stored procedures in oracle
by Anonymous Monk on Mar 22, 2000 at 06:13 UTC
    If the drivers for Oracle are like Informix you just have to treat the stored procedure just like a normal query: execute it first, then fetch from it to retreive the values. ie. my $sth = $dbh->prepare("execute new_procedure()"); $sth->execute(); my $rowref = $sth->fetch(); However a quick scan of my laptop shows that perldoc DBD states that calling stored procedures is driver dependent, so it may be slightly different for Oracle, good luck.