[freetds] Re: SQLFetch amusements
panic at semiosix.com
Mon May 12 06:02:04 EDT 2003
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.
More information about the FreeTDS