On Thu, 2002-12-19 at 10:12, Zhao, Charles wrote:
> $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 = DBI->connect("dbi:Sybase:$server", $user, $password);
> $sth = $DBH->prepare("$database..storedProcedure $parm");
> $sth->execute();
> It always give me error saying the database is not found.

Please post the actual error message. 

Michael
> -- 
> Michael Peppler                              Data Migrations, Inc.
> [EMAIL PROTECTED]                 http://www.mbay.net/~mpeppler
> Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
> long term contract positions - http://www.mbay.net/~mpeppler/resume.html

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to