*BSD News Article 42417


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:16604 comp.os.linux.help:79555 comp.databases.sybase:13458
Newsgroups: comp.os.386bsd.questions,comp.os.linux.help,comp.databases.sybase
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!cs.utexas.edu!news.sprintlink.net!EU.net!chsun!itf1!mpeppler
From: mpeppler@itf.ch (Michael Peppler)
Subject: Re: DB-LIB-like interface on FreeBSD/Linux?
Message-ID: <D3xFqq.KHB@itf.ch>
Keywords: DB-LIB, Open Client, Sybase, SQL
Organization: ITF Management SA, Geneva, Switzerland
References: <1995Feb6.182342.16196@uxmail.ust.hk> <3hfqbh$i2@post.gsfc.nasa.gov>
Date: Mon, 13 Feb 1995 07:06:21 GMT
Lines: 25

In article <3hfqbh$i2@post.gsfc.nasa.gov>,
Teresa A Larson <larson@sled.gsfc.nasa.gov> wrote:
>In article <1995Feb6.182342.16196@uxmail.ust.hk>, eenguyen@uxmail.ust.hk (Prof. Cuong T. NGUYEN) writes:
>|> I've searched through as many readme's/FAQ's as I could.  The
>|> question:  is there some interface for me to write programs on
>|> Linux/FreeBSD to connect to an SQL Server running on Windows NT?  I'd
>|> thought sybperl was the answer, but it requires DB-LIB!
>
>As far as I know the answer is no.  I've been looking too for some
>time.

I've also had several requests from folks wanting to use sybperl on
platforms where no DBlib exists.

The short answer, as Teresa put it, is that it doesn't work.
The long answer is that one would need to wheedle the TDS protocol
definition from Sybase in order to write a minimal implementation of
DBlib (dblogin/dbopen/dbcmd/dbsqlexec/dbresults/dbnextrow/dbdata).

Michael
-- 
Michael Peppler, ITF Management SA, Fontaine 13, CH-1204 Geneva
mpeppler@itf.ch - Tel (4122) 312 1311 - Fax (4122) 312 1325
"A successful [software] tool is one that was used to do something
undreamed of by its author."   -- S. C. Johnson