freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Brian Bruns" <camber AT ais.org>
- To: freetds AT franklin.oit.unc.edu
- Subject: Re: TDS 7.0 and decimals
- Date: Thu, 19 Oct 2000 15:15:09 -0400
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
-
TDS 7.0 and decimals,
Brandon M. Reynolds, 10/19/2000
- <Possible follow-up(s)>
- Re: TDS 7.0 and decimals, Brian Bruns, 10/19/2000
- Re: TDS 7.0 and decimals, Brandon M. Reynolds, 10/19/2000
- Re: TDS 7.0 and decimals, Brandon M. Reynolds, 10/20/2000
- Re: TDS 7.0 and decimals, Brandon M. Reynolds, 10/20/2000
- Re: TDS 7.0 and decimals, Brian Bruns, 10/21/2000
Archive powered by MHonArc 2.6.24.