[freetds] Access MS SQL Server using a C Program

Thompson, Bill D (London) bill_d_thompson at ml.com
Thu Aug 24 04:27:43 EDT 2006


Hi Ash,

You can access MS SQL using a variety of API's - dblibrary, ctlibrary,
or ODBC

sample programs can be found for each of these in the following
directories:

.../src/dblib/unittests
.../src/ctlib/unittests
.../src/odbc/unittests

it all depends if you have familiarity with any of these API's
If you have no familiarity, then dblibrary is probably the simplest to
grasp from first principles

Bill

-----Original Message-----
From: freetds-bounces at lists.ibiblio.org
[mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of Ashirvad Uniyal
Sent: 24 August 2006 08:08
To: freetds at lists.ibiblio.org
Subject: [freetds] Access MS SQL Server using a C Program


Hi All,

Can anyone send me a little sample program to connect and access MS SQL 
Server using a C Program.

Thanks,
-Ash

_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail.     http://www.ml.com/email_terms/
--------------------------------------------------------



More information about the FreeTDS mailing list