r/SQLServer • u/dlevy-msft Microsoft Employee • Sep 10 '26
Community Share Microsoft ODBC Driver 18.7.1 for Microsoft SQL is now available
We released ODBC Driver 18.7.1 for Microsoft SQL.
The headline additions are:
float16vector supportLoad-balanced routing for Azure SQL Database Hyperscale named-replica reader endpoints
MultipleActiveResultSets,FailoverPartner,WorkstationID, andConnectTimeoutas accepted connection-string keywordsNo separate Microsoft Visual C++ Runtime prerequisite on Windows
Support for Alpine Linux 3.23, SUSE Linux Enterprise Server 16, and Ubuntu 26.04
The connection-string work is in response to a ton of feedback we've gotten. ODBC historically used names such as MARS_Connection and WSID, while other Microsoft SQL drivers used different names for the same settings. The old names still work, but common configuration can now travel between drivers with fewer translations.
There is also a fair amount of lower-level reliability work in this release, including more defensive TDS protocol parsing, native memory fixes, improved cleanup when MARS connections terminate abruptly, and fixes in asynchronous timeout, OpenSSL, and XA transaction paths.
The full blog post is available here:
2
u/-Shants- 1 Sep 14 '26
I have to roll this back on all my SQL Servers (mix of 2019 and 2025) to 18.6.2.1. Our T-log backups started failing and it killed our SCCM site until rolling back on the site server and database servers.
Idk, going to wait until the kinks are ironed out with this one.
2
u/dlevy-msft Microsoft Employee Sep 14 '26
Please open a support case and DM the case number to me. I'd like to dig into this.
2
u/SysAdmin127001 Sep 18 '26
yup killed my SCCM stuff too, just rolled back. I'm on Configuration Manager 2603 Hotfix (KB38982839). Going to apply 2603 hotfix KB39398030 and see if the issue remains even tho that SCCM hotfix predates this latest ODBC update, but you never know
1
u/SysAdmin127001 Sep 21 '26 edited Sep 22 '26
UPDATE: latest KBs for SCCM 2603 made no difference. This is the error that gets thrown once this latest ODBC is installed on an SCCM server every 5 seconds:
Log Name: Application
Source: Microsoft-Windows-Complus
Event ID: 4786
Level: Error
Description:
The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
Component Prog ID: 0[ODBC][C:\WINDOWS\system32\msodbcsql18.dll]
Method Name: IDispenserDriver::CreateResource
Process Name: smsexec.exe
Exception: c0000005
8
u/itsnotaboutthecell Microsoft Employee Sep 11 '26
Love hearing about the upcoming reliability work that’s in progress. A really great list of “upcoming” shout out to the team!
1
u/DakPanic Sep 22 '26
My understanding is the MultipleActiveResultSets alias was added to better unify connection strings -- but the Microsoft.Data.SqlClient client is documented as MultipleActiveResultSets=[True/False], and my experience with the new ODBC driver release is that MultipleActiveResultsSets=False fails with an error, and it only accepts Yes/No. This actually broke my software because MARS=False was previously silently ignored, and now it's an error. Can anyone confirm that Microsoft added the keyword for consistency, but then made them take different values?
1
1
u/dlevy-msft Microsoft Employee Sep 23 '26
Update: We're working on a fix, release date is still TBD.
5
u/Glittering_House_654 Sep 11 '26
How come Windows only ships with the legacy driver, SQL Server? Its a pain in large orgs to update these if its not on the approved list of software and if one needs admin rights to install more recent drivers such as 17 or 18.