[freetds] Login record information

David Chang dchang at fsautomation.com
Wed Aug 24 04:30:01 EDT 2005


Does that mean FreeTDS converts little endian to big endian when
communicating with a client that uses big endian (like Sun SPARC)?

DC

----- Original Message ----- 
From: "Frediano Ziglio" <freddyz77 at tin.it>
To: "FreeTDS Development Group" <freetds at lists.ibiblio.org>
Sent: Tuesday, August 23, 2005 9:56 PM
Subject: Re: [freetds] Login record information


> Il giorno mar, 23/08/2005 alle 18.21 -0700, David Chang ha scritto:
> > Hi,
> >
> > Looking at the TDS protocol documentation for TDS 7.0 Login packet (MS
SQL Server), I'd like to know how to tell MS SQL Server what the byte-order
is for the client.
> >
> > That is, if I'm on a SPARC based machine connecting to MS SQL Server
using FreeTDS, which bytes in the TDS 7.0 login packet need to be set to
tell MS SQL Server that I'm BIG_ENDIAN?  I think Intel machines are
LITTLE_ENDIAN, thus the default for MS SQL Server is probably LITTLE_ENDIAN.
> >
> > DC
>
> Hi David,
>   there is no such byte/bit. TDS 7+ is always little endian.
>
> bye
>   freddy77
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



More information about the FreeTDS mailing list