Have you tried this?

$sth = $dbh->prepare("exec $database..storedProcedure $parm");

On Thu 2002/12/19 10:12:11 PST, "Zhao, Charles" <[EMAIL PROTECTED]> writes
:
> $database is the name of the database, as it is not included in the =
> data
> source name.  On my $server there are dozens of databases so here I
> specify the one where the stored procedure exists.
> 
> However, when I do
> $DBH =3D DBI->connect("dbi:Sybase:$server", $user, $password);
> $sth =3D $DBH->prepare("$database..storedProcedure $parm");
> $sth->execute();
> It always give me error saying the database is not found.

Reply via email to