unread
Hi all!
I've noticed recently[1] that Microsoft has deprecated the ODBC cursor
library[2], and that it is scheduled for removal. Thus, I suggest to
remove support for this from ext/odbc (we do not use it in
ext/pdo_odbc). Concretely, that would entail the deprecation of the
constants SQL_CUR_USE_IF_NEEDED and SQL_CUR_USE_ODBC, so that only the
default (SQL_CUR_USE_DRIVER) could be passed as $cursor_option to
odbc_connect() and odbc_pconnect(). As such, it also makes sense to
deprecate this (optional) parameter right away.
Thoughts?
[1] https://github.com/php/php-src/pull/17556#issuecomment-2613974650
[2]
https://learn.microsoft.com/en-us/sql/odbc/reference/appendixes/using-the-odbc-cursor-library
Christoph