Skip to Content.
Sympa Menu

freetds - Re: [freetds] how can i connect c to sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] how can i connect c to sybase
  • Date: Mon, 2 May 2005 20:56:23 -0400

jonathan del canto wrote:
> hi..
> this is my problem
>
> i need to connect my program in "C" to my database Sybase Adaptive
> Server IQ 12.
>
> how can i do it ?
>
> please, help me, because donĀ“t know what to do.....

It's much easier to help you if you show what you've tried, you know.

I suggest you use db-lib, and look at src/dblib/unittests/t0001.c for a
simple example of how to connect, send SQL, and retrieve results.
Detailed documentation for db-lib programming is abundantly available from
both vendors.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page