Skip to Content.
Sympa Menu

freetds - Re: [freetds] Using FreeTDS ODBC on Windows

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Navdeep Shergill" <jatshergill AT hotmail.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Using FreeTDS ODBC on Windows
  • Date: Tue, 2 May 2006 13:54:22 -0700

Hi all
            I have gotten it to work using the ‘Connection String’ that I
passed into SqlDriverConnect. Here is the connection string that I used:
“"Servername=my_server;UID=username;PWD=passwd;TDS_Version=7.0" Using this;
I am able to connect and issue a statement to the sql server. IF I run the
SQL Profiler on te server: I can see that the server got the statement. For
some reason though; SQLExecDirect () returns a -1 after I call it. The weird
thing is that If I use the ‘ODBC’ configuration; then I am able to pass in
the same statement and have it be executed correctly.  

Any tips?
Thanks
Nav





Archive powered by MHonArc 2.6.24.

Top of Page