Re: Where I can find examples of using dblib or ctlib?

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Tue, 3 Sep 2013 17:05:57 +0300
Velichko Yuriy <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.