freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] problem getting ResultSet
- Date: Mon, 20 Oct 2003 13:57:38 +0200
>
> Hello,
>
> I have a peculiar problem getting data from my SQL Server
> 7.0 backend DB
> using FreeTDS. I am using the ODBC++ API and can connect and
> execute a SQL
> statement. But when I try to get a result set associated
> with the query, it
> fails with a "failure to assign pointer to statement" error.
> This occurs within the SQLSetStmtAttr with the attribute being
> SQL_ATTR_ROWS_FETCHED_PTR.
>
> So, my question is, Are there any known issues with ODBC++
> and FreeTDS?
>
> I should also mention that things work fine with my iODBC
> DSN, but not with
> this one running the same queries. Also, I'm pretty sure I
> compiled the
> FreeTDS lib with the correct switches. I'm using the
> unixODBC manager right
> now, so I compiled with the unixODBC compile switch and I
> tried switching the
> driver version to 4.2 with no change.
>
> Hope someone can shed some light....thanks in advance.....steve---
>
SQL_ATTR_ROWS_FETCHED_PTR support was added in CVS version, not in 0.61,
so I think iODBC emulate it.
Perhaps unixODBC do not emulate it (and it's a correct behavior).
Also do not use 4.2 version. This version do not support some features
and shouldn't be used anymore (the only exeption is for dblib for a
compatibility issue related to RPC).
freddy77
-
[freetds] problem getting ResultSet,
Steven Orton, 10/16/2003
- <Possible follow-up(s)>
- RE: [freetds] problem getting ResultSet, ZIGLIO Frediano, 10/20/2003
Archive powered by MHonArc 2.6.24.