Skip to Content.
Sympa Menu

freetds - [freetds] Re: SQLFetch amusements

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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






Archive powered by MHonArc 2.6.24.

Top of Page