On Tue Aug 13 07:47:36 2024 +0000, Hans Leidekker wrote:
Is there a real world use case for this? There are more functions missing from v2 drivers and they can't all be emulated. So the app would need to be aware of that. In any case, I think the reverse mapping of dropped v2 functions has higher priority.
Yes in the real world. The driver I was helping someone with doesn't have this function.
Why would an application need to know? I write an application with ODBC v3.0 functions and connect via DSN with a driver v2.0. I expect ODBC32 to handle as much as possible. From experience you sometime have to set specific driver options but that was an unusual case.
wine is explicitly setting SQL_ATTR_ODBC_VERSION on creating the environment handle, with a function that might not exist.