freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: John Anderson <panic AT semiosix.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] Re: SQLFetch amusements
- Date: Mon, 12 May 2003 10:02:04 -0000
On Mon, 2003-05-12 at 11:22, John Anderson wrote:
> I'm trying to use SQLFetch (and SQLFetchScroll) to retrieve rows from an
> MSSQL 2000 server. Non-bound fields give an SL009 error (hardcoded in
> unixODBC) and bound fields return the same data for every row, seems to
> be the data from the first row. The incoming data lengths seem to be
> correct though.
>
> Is this a known problem? Are there any workarounds?
Heh. I don't usually reply to my own messages, but I removed the call to
::SQLSetConnectOption ( handle(), SQL_ODBC_CURSORS, SQL_CUR_USE_IF_NEEDED );
and it's OK now.
bye
John
-
[freetds] SQLFetch amusements,
John Anderson, 05/12/2003
- [freetds] Re: SQLFetch amusements, John Anderson, 05/12/2003
Archive powered by MHonArc 2.6.24.