Skip to Content.
Sympa Menu

freetds - Re: dynamic SQL and NUMERIC problems

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steve Langasek <vorlon AT netexpress.net>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: dynamic SQL and NUMERIC problems
  • Date: Tue, 6 Mar 2001 13:54:13 -0600 (CST)


On Tue, 6 Mar 2001, Michael Peppler wrote:

> > 2) I thought I once read a message about this problem somewhere, but
> cannot
> > find it now, so apologize for bringing it up again. Results returned for
> > a columntype of NUMERIC seems to truncate the last digit.

> I don't know what this is, but I've not seen it when using the Sybase
> libraries, so I suspect a FreeTDS problem.

I recall that when I started working with DBD::Sybase a couple months ago, I
was getting a garbage character at the end of every field returned in a query.
I upgraded DBD::Sybase, FreeTDS, or both, and the problem went away (which
meant I had to rewrite some of my scripts :). Perhaps the code is now being
overzealous and cutting one byte too many off of NUMERIC fields, as well?

Steve Langasek
postmodern programmer





Archive powered by MHonArc 2.6.24.

Top of Page