[freetds] libtds - setting tds version and port number

Ed Freeberg freetds at lvdcasino.com
Mon Aug 30 17:58:37 EDT 2004


Ed Freeberg wrote:

>
> Hello:
>
> I'm trying to get a "Hello World" program to connect to my MS-SQL 7.0 
> server.  Based on my experience using freetds with PHP, TDS version 
> 4.2 works for me.
>

Solved my own problem:

#define TDS42   true

Also, it doesn't appear that I need dbsetversion(DBVERSION_42);





More information about the FreeTDS mailing list