Skip to Content.
Sympa Menu

freetds - Re: Accessing MSSQL from C on Linux

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Accessing MSSQL from C on Linux
  • Date: Wed, 31 Oct 2001 08:07:34 -0800


Brian Bruns writes:
>
>
> 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.

True. But dblib suffers form name space collisions for a lot of stuff,
unfortunately.

ctlib is also more "regular", imho...

Michael
--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler AT peppler.org - mpeppler AT mbay.net
International Sybase User Group - http://www.isug.com




Archive powered by MHonArc 2.6.24.

Top of Page