Can't call method "bind_param" on an undefined value
The important information here is that $sth is undefined when you try to call bind_param on it. That happens when prepare fails. If you check prepare for errors, you'll get some more useful information:
$sth = $dbh->prepare( $sql ) or die $dbh->errstr;
You can wrap that in an eval block if you want, too.
In reply to Re: how to call stored procedure from ms sql
by friedo
in thread how to call stored procedure from ms sql
by ephemeralz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |