PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Problem with DBD::Sybase and SQL Server
Date: Oct 31 2008 6:23AM

On Oct 30, 2008, at 9:16 PM, Wechsler, Steven wrote:

> I have two hosts here. They are both using FreeTDS to talk to a SQL  
> Server. One is running DBD::Sybase v 0.95, and it works fine. The  
> other is running v 1.08, and it gets the following error whenever I  
> try to run any SQL command:
>
> $ run_sql.pl -S mtvu-sql-1 -q 'select @@servername'
> Msg 3902, Severity 16, State 1:
> Server 'MTVU-SQL-1', Line: 2:
> The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
> ***** Running query against server mtvu-sql-1 at 10/30/08 15:57:36  
> *****
> COL(1)
> ----------
> MTVU-SQL-1
> ***** WARNING: Execution finished with warnings/errors at 10/30/08  
> 15:57:36 ****
>
Could you please try DBD::Sybase 1.09 and see if that still has the  
error?

Thanks,

Michael
--
Michael Peppler              -                    Peppler Consulting  
SaRL
mpeppler@peppler.org         -                     http://www.peppler.org
Sybase DBA/Developer         -      TeamSybase: http://www.teamsybase.com
Sybase on Linux FAQ          -      http://www.peppler.org/FAQ/linux.html