Skip to Content.
Sympa Menu

freetds - Re: [freetds] tds_convert speed

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] tds_convert speed
  • Date: Mon, 10 Feb 2003 21:07:02 -0500

On Mon, 10 Feb 2003 15:18:15 -0000, "Thompson, Bill D (London)"
<ThompBil AT exchange.uk.ml.com> wrote:
> Thanks Freddy,
>
> I'm almost there with a solution now.
> But...do you know...If we are accessing a Sybase server on a bigendian
> machine from a little-endian client, does the Sybase end convert to
> little endian for us ?

Sybase uses the client's byte order, specified in the "lint2" field of the
TDS 5 login record. Values are:

TDS_INT2_LSB_HI (2)
TDS_INT2_LSB_LO(3)

Specifies the client byte ordering for two byte integers. TDS_INT2_LSB_HI
specifies that the least significant byte is in the high byte (68000 byte
ordering). TDS_INT2_LSB_LO specifies that the least significant byte is in
the low byte (VAX and 80x86 byte ordering).

According to the documentation, that is.

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page