Skip to Content.
Sympa Menu

freetds - Re: Connect, query, return the result....

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Connect, query, return the result....
  • Date: Thu, 22 Feb 2001 09:11:46 -0500 (EST)



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')
>





Archive powered by MHonArc 2.6.24.

Top of Page