Skip to Content.
Sympa Menu

freetds - Re: TDS V7.0 and MSSQL Version 7.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Bruns" <camber AT ais.org>
  • To: freetds
  • Subject: Re: TDS V7.0 and MSSQL Version 7.0
  • Date: Mon, 9 Aug 1999 11:39:22


On 08/09/99, "ark AT eltex.ru" wrote:
> nuqneH,
>
> .another question: is there a way to analyse login packet and determine
> protocol version? any hints?

Under TDS 4.2/4.6/5.0 there are two fields in the login packet which
specify the protocol and program version numbers. I haven't seen anything
like that with 7.0. However the login ack that returns comes back with the
version set. So, the only way seems to be to look at the packet type
(first byte of the header). If it is 0x10 then its TDS 7.0, else look at
the version field.

Brian




Archive powered by MHonArc 2.6.24.

Top of Page