Skip to Content.
Sympa Menu

freetds - Re: [freetds] qt odbc problem

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] qt odbc problem
  • Date: Fri, 29 Apr 2005 20:04:31 -0400

Veliczky Rudolf wrote:
> Hi,
>
> i have to connect to an mssql2000 server via ODBC in a qt application.
> SW environment:
> Fedora core 3 (up-to-date)
> unixODBC 2.2.11
> freetds 0.63 (built with --with-msdblib)
> qt 3.3.4
>
> Creating an entry in freetds.conf and connection with tsql is OK.
> Defining a DSN and connecting with isql or DataManagerII is OK.
> Now, the problem.
> As soon as i define a default database connection, qt tells, connecting
> OK. (default connection appears in the left list) but qGetStringData:
> Error while fetching data (-1) and QODBCDriver::record: Unable to
> execute column list Error: messages appears on console.
> And of course no table can be seen.

Have a look at a TDSDUMP log of the session. I suspect you may see some
"unsupported function" messages. The ODBC metadata functionality has some
holes.

It might not be all that hard to fix....

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page