in reply to Re: Win32::ODBC FetchRow
in thread Win32::ODBC FetchRow
So I studied the FetchRow code in the two versions of Win32::ODBC, and got nowhere! They both call ODBCFetch (in the DLL). The new version has a second argument, the one that is supposed to invoke SQLExtendedFetch. But removing this argument entirely *still* called SQLExtendedFetch.
I think it is the ODBC.DLL that determines which Fetch to use, based on whether there are arguments, so I just don't see why SQLFetch is NOT being used when there are no arguments.
I've tried to force ODBC.DLL to use SQLFetch, which should be the normal case. I've studied all the connection options and tried setting various cursors to no avail.
This is a shame, because it means the CodeBase driver cannot be used with Perl. It also seems to mean that all apps that use of Win32::ODBC are using extended fetch when they could be using the simpler fetch.
Many thanks for your help. I would say Win32::ODBC is just not a serious product.
Stephen
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Win32::ODBC FetchRow
by doowah2004 (Monk) on Sep 01, 2004 at 20:27 UTC | |
by Stephen Toney (Sexton) on Sep 02, 2004 at 13:50 UTC |