Re: Sybase, Freetds, and stored procedure return codes
Dave Cole <[email protected]> Wed, 04 Aug 2004 11:07:52 +1000
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Organization | Object Craft P/L |
| Message-ID | <[email protected]> |
Ryan Felder wrote: > I am working on a project that uses Sybase and Freetds under solaris to > talk to a MSsql server, > and code that seems to have worked in the past, no longer works with a more > up to date version of > Sybase. > > We use a stored procedure to authenticate users, and when it fails, it has > a return code. I can > not find how to retreive this return code any longer. Our code used to > receive this in the first > row of data returned, but now, we cannot find it. I am running this with > current versions of > Python, Sybase, and Freetds, under solaris 9. Anyone with ideas is my > saviour. My first step would be to see if the same failure happens when using Perl and FreeTDS. This would tell you if the problem is in FreeTDS or not. I think it possible to get FreeTDS to produce copious debugging - this might let you compare what the Python module is doing relative to the Perl module. - Dave -- http://www.object-craft.com.au