[freetds] Where I can find examples of using dblib or ctlib?

James K. Lowden jklowden at freetds.org
Wed Sep 4 23:17:11 EDT 2013


On Tue, 3 Sep 2013 17:05:57 +0300
Velichko Yuriy <velichko.yuriy at gmail.com> wrote:

> I need to connect to MSSQL server in my application(c/c++). For this
> purpose I chose to use the FreeTDS libraries.  As I understood the
> dblib will be enough to work (select/insert/update data etc) with
> MSSQL server (Am I right?).

Yes.

> I would be grateful for some code examples of how to connect to the
> server and work with database.

You apparently didn't finish reading the fine manual.  ;-)  

http://www.freetds.org/userguide/samplecode.htm

HTH.  

--jkl


More information about the FreeTDS mailing list