Skip to Content.
Sympa Menu

freetds - Re: TDS 7.0 and decimals

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brandon M. Reynolds" <breynolds AT comtime.com>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: Re: TDS 7.0 and decimals
  • Date: Thu, 19 Oct 2000 15:48:40 -0400


That was the first thing I've tried. Any other ideas?

Brandon M. Reynolds Ph: (330) 644-3059
Systems Engineer Fax: (330) 644-8110
Commercial Timesharing Inc. Email: bmr AT comtime.com


> -----Original Message-----
> From: Brian Bruns [mailto:camber AT ais.org]
> Sent: Thursday, October 19, 2000 3:15 PM
> To: TDS Development Group
> Subject: [freetds] Re: TDS 7.0 and decimals
>
>
> You may want to try the following patch in tds/convert.c
> Not sure if it'll work, but it's the obviously wrong part :-)
>
> Brian
>
>
> case SYBMONEY:
> return tds_convert_money(srctype,src,
> desttype,dest,destlen);
> break;
> + case SYBDECIMAL:
> case SYBNUMERIC:
> return
> tds_convert_numeric(srctype,(TDS_NUMERIC *)
> src,srclen,
> desttype,dest,destlen);
> break;
>
> > When I try to pull some decimals out of the database I get
> this error
> > message:
> >
> > Attempting to convert unknown source type 106
> >
> > This works fine with TDS 4.2.
> >
> > The decimal datatype in SQL Server 7 appears to be 9 bytes long.
> >
> > Brandon M. Reynolds Ph: (330) 644-3059
> > Systems Engineer Fax: (330) 644-8110
> > Commercial Timesharing Inc. Email: bmr AT comtime.com
>
> ---
> You are currently subscribed to freetds as: [bmr AT comtime.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>




Archive powered by MHonArc 2.6.24.

Top of Page