igongora has asked for the wisdom of the Perl Monks concerning the following question:
I am working on a perl script wich will call a SQL server stored procedure. This store procedure expects 2 parameter registration number and a password.
So far I am using freetds, however when I call the stored procedure
$action = $dbh->prepare("IBW_WebAuth $reg_num,$passwd") ; $action->execute ; $rows = $action->rows ; print "rows is $rows\n";
the print statement prints "rows is -1" what am I doing wrong? what does -1 mean??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Execute stored procedure with freetd
by Belgarion (Chaplain) on May 19, 2004 at 18:22 UTC | |
|
Re: Execute stored procedure with freetd
by injunjoel (Priest) on May 19, 2004 at 18:26 UTC | |
|
Re: Execute stored procedure with freetd
by Fletch (Bishop) on May 19, 2004 at 18:24 UTC | |
|
Re: Execute stored procedure with freetd
by punkish (Priest) on May 19, 2004 at 19:23 UTC |