Want to use fast forward cursors (SQL_CO_FFO) and MARS

Sebastien FLAESCH <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization Four J's Development Tools
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.