On Fri, 2002-09-06 at 06:47, [EMAIL PROTECTED] wrote:
> 
> The script I'm using is basically this ....
> 
>     $dbname = "dbi:Sybase:server=$ENV{SYBASE_DB_SERVER};".
>                   "database=$ENV{SYBASE_DB_NAME}";

>    my $count = $dbh->selectrow_array($selsql);    #returns 0

OK - I just tried that here and it works fine.

You either are using an incorrect $table variable, or you are not
fetching data from the correct database...

As Hardy mentioned - enable DBI->trace(3) and see what is going on under
the hood...

Michael
-- 
Michael Peppler / [EMAIL PROTECTED] / http://www.mbay.net/~mpeppler
[EMAIL PROTECTED] / ZetaTools, Inc / http://www.zetatools.com
ZetaTools: Call perl functions as Sybase stored procedures!

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

Reply via email to