|
|
sybperl-l Archive
Up Prev Next
From: michael dot peppler at bnpparibas dot com
Subject: RE: Connecting to repserver with DBD::Sybase
Date: Apr 10 2007 6:56AM
Hmm - I just tried using $sth->{NUM_OF_FIELDS} with a rep server, and had
no problems.
Could you send me a sample script that illustrates the problem?
Thanks,
Michael
Internet
Steven.Wechsler@mtvstaff.com@peppler.org - 06.04.2007 17:31
Sent by: owner-sybperl-l@peppler.org
To: sybperl-l
cc:
Subject: RE: Connecting to repserver with DBD::Sybase
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 | steven.wechsler@mtvstaff.com
Sybase/SQL Server/MySQL Database Administrator
212-846-5683
MTV Networks
From: owner-sybperl-l@peppler.org [mailto:owner-sybperl-l@peppler.org] On
Behalf Of michael.peppler@bnpparibas.com
Sent: Tuesday, April 03, 2007 1:46 AM
To: sybperl-l@peppler.org
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
Steven.Wechsler@mtvstaff.com@peppler.org - 02.04.2007 20:35
Sent by: owner-sybperl-l@peppler.org
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,
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 | steven.wechsler@mtvstaff.com
Sybase/SQL Server/MySQL Database Administrator
212-846-5683
MTV Networks
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
|