Connect, query, return the result....

Brian Bruns camber at ais.org
Thu Feb 22 09:11:46 EST 2001



Hi,

well you need to decide on which api to use (dblib or ctlib).  dblib is a
little more straight forward IMHO. then look at the src/dblib/unittests
directory for some examples.  Also you may want to check out
sybooks.sybase.com under OpenClient for the official reference.

Cheers,

Brian

On Wed, 21 Feb 2001, Cory Powers wrote:

> I am using freetds via PHP4 to connect to a MS SQL 7.0 server and it works
> great. But, now I need to query a MSSQL DB via a C program that I have and
> I can not seem to figure which files and which functions I need to use to
> perform this simple task. Anyone that could point me in the right
> direction would be greatly appreciated. All I need to know is what file(s)
> to include and what functions to use to connect to a server, query a
> database, and get the results.
> 
> Thanks,
> Cory
> cpowers at uversaconsulting.net
> 
> ---
> You are currently subscribed to freetds as: [camber at ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
> 




More information about the FreeTDS mailing list