Knowing the database still would help. How SP's are executed differs across databases. In Oracle, for example, I need to surround the SP to be executed with BEGIN/END statements like this:
$sth = $dbh->prepare(" BEGIN :1:=util.end_of_day(:2); END; ");
In reply to Re: Re: Re: Can't execute sql
by steves
in thread Can't execute sql
by mnlight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |