Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2001 19:03:15 -0500
From:      "Christopher Meiklejohn" <cmeiklejohn@conversent.com>
To:        "Leif Neland" <leifn@neland.dk>, "Jim King" <jim@jimking.net>
Cc:        <freebsd-isp@FreeBSD.ORG>
Subject:   RE: ODBC
Message-ID:  <ILEALFKFCNJHKDLMPOEOMEMOANAE.cmeiklejohn@conversent.com>
In-Reply-To: <20011210005009.R52959-100000@arnold.neland.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Using FreeTDS and DBD::sybase I had success connecting to MSSQL-7 on NT4
from perl:

The code looked a little like this:

#!/usr/bin/perl

use DBI;
use CGI qw(:standard);

BEGIN {
        $ENV{SYBASE} = '/usr/local/freetds';
        $ENV{DSQUERY} = "NTBOX";
}

$dbh = DBI->connect('dbi:Sybase:NTBOX', 'test','test');

<omitted>

--Chris


-----Original Message-----
From: owner-freebsd-isp@FreeBSD.ORG
[mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Leif Neland
Sent: Sunday, December 09, 2001 6:51 PM
To: Jim King
Cc: freebsd-isp@FreeBSD.ORG
Subject: Re: ODBC




On Tue, 7 Nov 2000, Jim King wrote:

> Bob Martin wrote:
>
> > Anyone know where I can get a good ODBC driver for FreeBSD? I need to
> > connect to a MSSQL server.
>
> /usr/ports/databases/unixODBC
>
> More info at http://www.unixodbc.org/
>
> Jim
>
It isn't obvious to me: can this be used from PHP4?

Leif


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ILEALFKFCNJHKDLMPOEOMEMOANAE.cmeiklejohn>