Skip to Content.
Sympa Menu

freetds - Re: [freetds] TDS Protocol Version

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] TDS Protocol Version
  • Date: Thu, 17 Oct 2013 19:17:01 -0400

On Wed, 16 Oct 2013 14:26:05 +0530
Vipul Sharma <vipsharma.sharma AT gmail.com> wrote:

> I want my application to open TDS 7.2 / TDS7.3 / TDS 7.4 connection
> to the SQL server 2012/2008 but it always opens TDS 7.0 or TDS 7.1
> depending upon the definition of "tds version" in freetds.conf. e.g.
> if i define "tds version" as 7.0, 7.0 connection gets opened. If i
> define "tds version" as 7.1, 7.1 connections gets opened. But, if i
> define "tds version" as 7.2 or greater, it still opens 7.1
> connection.

Are you using db-lib? Check your source code for SYBEVERDOWN; I think
you'll find a db-lib connection limits the TDS version to 7.1.

I don't remember why just now, and the restriction seems to have
lifted because a quick tour through the code doesn't reveal anything.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page