We've recently updated one of our internal testing environments to use ODBC Driver 17 for SQL Server to support more recent versions of TLS and have discovered that our application will crash to desktop with an IDMS error in PBSHR170.dll if we SELECT any data from a column of XML data type. This happens both in the deployed application and in the powerbuilder IDE, in both 2017 R2 and R3. When it happens in the IDE it's a complete crash to desktop for the entire IDE, no error is caught by the debugger.
Has anyone else encountered this and is there any solution other than "don't use the XML data type"?
I guess the real "problem" was SELECTing into a string working in the first place with the older ODBC driver. Now we know!