freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT umcc.ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: Accessing MSSQL from C on Linux
- Date: Wed, 31 Oct 2001 10:04:37 -0500 (EST)
On Wed, 31 Oct 2001 JefferySamuel AT binus.ac.id wrote:
>
> btw: what's the different between ctlib and dblib ??
> sorry for one liner...
>
dblib was Sybase's original database access api, personally I like using it,
it does what it does well. Microsoft even still supports it (but only for
TDS 4.2).
Around the time Sybase system 10 came out, Sybase developed ctlib as a "next
generation" api. The idea was that datasources may not be a relational
database and a broader API was needed for more advanced options (such as
placeholders for instance). ctlib has less function calls but more
arguments per function. personal aside: ctlib has always struck me with a
design by commitee feel, it does everything, but it's a bit harder to use.
We support all three APIs on any dataserver (Sybase ASE, ASA, or MS SQL).
Brian
>
> > Can I access MSSQL server 7.0 from my C ?? I've read freetds.org and the
>
> > There are lots of examples. Just look at any
> > of the unittest directories. If you have the
> > freetds source go to:
> > FREETDS_DIR/src/tds/unittests/
> > FREETDS_DIR/src/ctlib/unittests/
> > FREETDS_DIR/src/dblib/unittests/
>
> > But I think the only examples that work are
> > in the dblib directory.
>
> I've been using ctlib sucessfully to talk to M$SQL Server.
>
>
> ---
> You are currently subscribed to freetds as: [JefferySamuel AT binus.ac.id]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
>
>
>
>
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
-
Accessing MSSQL from C on Linux,
JefferySamuel, 10/31/2001
- <Possible follow-up(s)>
- Re: Accessing MSSQL from C on Linux, Lance Perry, 10/31/2001
- Re: Accessing MSSQL from C on Linux, martin dempsey, 10/31/2001
- Re: Accessing MSSQL from C on Linux, Brian Bruns, 10/31/2001
- Re: Accessing MSSQL from C on Linux, JefferySamuel, 10/31/2001
- Re: Accessing MSSQL from C on Linux, Brian Bruns, 10/31/2001
- Re: Accessing MSSQL from C on Linux, Michael Peppler, 10/31/2001
- Re: Accessing MSSQL from C on Linux, Michael Peppler, 10/31/2001
Archive powered by MHonArc 2.6.24.