Skip to Content.
Sympa Menu

freetds - Re: Numeric

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Numeric
  • Date: Thu, 18 Jul 2002 06:47:31 -0400 (EDT)


On Thu, 18 Jul 2002, ZIGLIO Frediano wrote:

> >
> > Freddy,
> >
> > > Coding of numeric (and decimal) in different TDS version is
> > different. It
> > > seem that TDS 4.2 and 5.0 use always big endian conversion
> > and TDS7/8 use
> > > always little endian.
> > > Also MS SQL is limited to 38, Sybase to 77 (128 and 256 bit).
> > > So for Sybase a require data to be 33, not 17 (see tds.h.in).
> >
> > The sybase manuals I've looked at (11.5 & 12) say numeric and
> > decimal have
> > 38 significant digits (2 to 17 bytes of storage)....
> >
> TDS5.0 manual state that TDSNUMERIC may have 77 as precision (1-77)...
>

You're not looking at the TDS 5.0 manual are you? The licensing of that
does not permit disclosure, and source code is disclosure in most places.







Archive powered by MHonArc 2.6.24.

Top of Page