db-lib & ct-lib
Lowden, James K
LowdenJK at bernstein.com
Wed Nov 28 11:05:00 EST 2001
I'll look after it, Brian.
My 2 cents:
If someone else wrote the software you're compiling, someone else made the
If you're not going to use dbm or something else that introduced namespace
issues, use dblib. It's the Volkwagen Beetle of interfaces: simple,
In 15 years in and around databases, I've never wished dblib did something
> -----Original Message-----
> From: Brian Bruns [mailto:camber at ais.org]
> Sent: November 28, 2001 10:47 AM
> To: TDS Development Group
> Subject: [freetds] Re: db-lib & ct-lib
> > hi all,
> > i'm still confused, what's the different between freetds
> db-lib and ct-lib
> > ?
> > regards,
> > karina
> jkl, this one should go in the faq...
> DBLib was the original API provided by Sybase for SQL Server. By
> extension it was also supported by Microsoft during the
> period immediately
> following their technology sharing arrangement (I say was, because
> although MS still ships dblib it is deprecated and doesn't support TDS
> versions beyond 4.2).
> Sybase subsequently developed ct-lib as a replacement API.
> Advantages of dblib: the interface is fairly simple, code
> written with
> dblib is small and compact.
> Disadvantages: It doesn't support advanced features such as
> array binding, and so on. It also suffers from some horrible
> name space
> conflicts when use with other libraries (specifically the
> dbopen() call
> when linked with any form of dbm, or the typedef of BYTE when
> linked with
> several other libraries).
> Advantages of ctlib: ctlib exposes all current capabilities
> of Adaptive
> Server (the new name for SQL Server), and has a robust and
> well thought
> out API.
> Disadvantages: Because of this it can be a bit unwieldy to use.
> You are currently subscribed to freetds as: [LowdenJK at bernstein.com]
> To unsubscribe, forward this message to
More information about the FreeTDS