Skip to Content.
Sympa Menu

freetds - [freetds] Want to use fast forward cursors (SQL_CO_FFO) and MARS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sebastien FLAESCH <sf AT 4js.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Want to use fast forward cursors (SQL_CO_FFO) and MARS
  • Date: Sat, 03 May 2008 08:59:49 +0200

Hi all,

I had a little review of our code and found a unique "FIXME" to resolve:

/* FIXME!
} else { / * Use fast forward cursor * /
r = SQLSetStmtAttr(st->stmtHandle, SQL_SOPT_SS_CURSOR_OPTIONS,
(SQLPOINTER) SQL_CO_FFO, SQL_IS_UINTEGER);
if (!SQL_SUCCEEDED(r)) {
DBGMSG(1, "Could not set SQL_SOPT_SS_CURSOR_OPTIONS");
return -1;
}
*/

With the native SQL Server ODBC drivers (SNAC and MDAC), this option
can be used from the odbcss.h header.

Are there any plans to support this?

BTW: What about MARS (Multiple Active Result Sets)?

Thanks a lot!
Seb




Archive powered by MHonArc 2.6.24.

Top of Page