RE: Connecting to repserver with DBD::Sybase
"Wechsler, Steven" <[email protected]> Fri, 6 Apr 2007 11:31:00 -0400
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael,
I had our sysadmin folks upgrade to the latest version you specified
below, and I am still getting the error.
It appears that
$sth->{NUM_OF_FIELDS} (remember, this worked with repserver and
earlier versions of DBD)
is what's triggerng the error.
Any ideas?
Thanks,
Steve
Steve Wechsler | [email protected]
Sybase/SQL Server/MySQL Database Administrator
212-846-5683
MTV Networks
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, April 03, 2007 1:46 AM
To: [email protected]
Subject: Re: Connecting to repserver with DBD::Sybase
That would be DBD::Sybase 1.07.
Could you try DBD::Sybase 1.07_04, available from
http://www.peppler.org/downloads please ?
(I use that version at the moment, and use it to connect to rep
servers as well as ASE...)
Michael
Internet
[email protected]@peppler.org - 02.04.2007 20:35
Sent by: [email protected]
To: sybperl-l
cc:
Subject: Connecting to repserver with DBD::Sybase
I'm not sure what the official release numberis , but the
version listed in Sybase.pm is 1.90
Are there any known issues with this release? When I try to
connect to a repserver I get this error:
Msg 2056, Severity 12, State 0:
Server 'liverep1', Line: 0:
Line 1, character 1: Incorrect syntax with 'sp_datatype_info'.
Can't use an undefined value as an ARRAY reference at
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int/DBD/Sybase.pm line 355,
<FILE> line 2.
Obviously it's trying to run this stored procedure on
connection.
It works fine when connecting to ASE, and an earlier version of
Sybase.pm (1.41) installed on one of our older servers works against
repserver.
Steve Wechsler | [email protected]
Sybase/SQL Server/MySQL Database Administrator
212-846-5683
MTV Networks