Skip to Content.
Sympa Menu

freetds - Re: MSSQL and sybperl

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Gregg Jensen <greggj AT savvis.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: MSSQL and sybperl
  • Date: Thu, 20 Aug 1998 14:51:33 -0500


Jamison Stepan wrote:

> Just thought I would post my results of testing freetds.
> I am going from a RH 5.1 Intel box to a MSSQL 6.5 server.
> unitest would had after the connect statement when I altered it to go to
> my MSSQL server.
>
> I got sybperl to compile and link, but the scripts would exibit the same
> hang.

What was defined in the src/tds/Makefile :

-D TDS50

or
-D TDS42

By default the library will use TDS50 which will work for connections to
Sybase. If
you want to connect to MS-SQL you can change TDS50 to TDS42 and recompile the
tds
library.

It sounds like you are using the TDS50, it would exhibit this kind of result.

There is some support in the "current" version for deciding the version of the
protocol at runtime, but I think it only works for ctlib at the moment. I
have add
the support in dblib but have not submitted it to the maintainer yet (I'm
still
testing it at the moment).

For now, try rebuilding the library as mentioned above and try it again.

Gregg Jensen


>From Jamison Stepan <jstepan AT uswest.net> Thu Aug 20 19:19:26 1998
Message-ID: <35DCAEF6.9B438A73 AT uswest.net>
Date: Thu, 20 Aug 1998 18:19:18 -0500
From: Jamison Stepan <jstepan AT uswest.net>
X-Mailer: Lyris Newsgroup Interface
MIME-Version: 1.0
Newsgroups: freetds
Subject: Re: MSSQL and sybperl
References: 2251@freetds
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: freetds


That did it. I had set it correctly the first time but had to re-untar
the package when I accidently deleted some stuff and I forgot to redo
it.

Thanks!

Jamison


Gregg Jensen wrote:
>
> Jamison Stepan wrote:
>
> > Just thought I would post my results of testing freetds.
> > I am going from a RH 5.1 Intel box to a MSSQL 6.5 server.
> > unitest would had after the connect statement when I altered it to go to
> > my MSSQL server.
> >
> > I got sybperl to compile and link, but the scripts would exibit the same
> > hang.
>
> What was defined in the src/tds/Makefile :
>
> -D TDS50
>
> or
> -D TDS42
>
> By default the library will use TDS50 which will work for connections to
> Sybase. If
> you want to connect to MS-SQL you can change TDS50 to TDS42 and recompile
> the tds
> library.
>
> It sounds like you are using the TDS50, it would exhibit this kind of
> result.
>
> There is some support in the "current" version for deciding the version of
> the
> protocol at runtime, but I think it only works for ctlib at the moment. I
> have add
> the support in dblib but have not submitted it to the maintainer yet (I'm
> still
> testing it at the moment).
>
> For now, try rebuilding the library as mentioned above and try it again.
>
> Gregg Jensen



  • Re: MSSQL and sybperl, Gregg Jensen, 08/20/1998

Archive powered by MHonArc 2.6.24.

Top of Page