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??
In reply to Execute stored procedure with freetd by igongora
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |