Microsoft OLE DB Driver 19 for SQL Server

Microsoft Corporation·Microsoft.SQLServer.OLEDBDriver.19

Microsoft OLE DB Driver for SQL Server is a stand-alone data access application programming interface (API) for OLE DB.

Microsoft OLE DB Driver 19 for SQL Server (MSOLEDBSQL19) is a stand-alone data access application programming interface (API) for OLE DB. It provides native connectivity to SQL Server and Azure SQL Database from C/C++ applications.

winget install --id Microsoft.SQLServer.OLEDBDriver.19 --exact --source winget

Latest 19.4.3.0·October 9, 2026

Release Notes

Features added

Feature added Details
Added USERAGENT feature extension The driver sends its name, version, architecture, and operating system details to the server in the LOGIN7 USERAGENT TDS feature extension.
Added canonical connection string aliases Added the ConnectTimeout, MultipleActiveResultSets, and WorkstationID keywords as aliases for the Timeout, MarsConn, and WSID keywords. The existing keywords continue to work.
Added redirect context to connection failure messages When the server routes a connection to another server and the connection to that server fails, the driver adds an error that names both the target server and the server that redirected the connection.
Added support for enhanced routing Supports enhanced routing for Azure SQL Database Hyperscale named-replica reader endpoints. The driver connects to the server and the database that the server's routing information specifies.
Updated authentication library Updated Microsoft SQL Driver Authentication library (mssql-auth.dll) to version 1.1.4. This update fixes a crash when an application unloads and reloads the library after authentication starts.

Bugs fixed

Bug fixed Details
Fixed LOB parameter leak in linked server EXEC AT. Fixed large object (LOB) parameters not being released when a linked server EXEC ('<statement>', @parameter) AT [<linked server>] call passes a LOB parameter that has no matching ? placeholder in the statement.
Fixed implicit connections logging in to the initial database instead of the current database. Additional connections that the driver opens, such as implicit connections that run a command while a rowset is open, now log in to the current database instead of the database specified in the connection string. Previously, unqualified object names on these connections could resolve against the wrong database after a USE statement.
Fixed a crash on DLL unload when using Microsoft Entra authentication. Fixed an intermittent access violation when the driver is unloaded after a connection that uses Microsoft Entra authentication, for example when Excel closes a workbook.
Fixed a crash in STA hosts such as Excel when using Microsoft Entra integrated authentication. Fixed a crash when a single-threaded apartment (STA) host such as Excel opens a connection with Authentication=ActiveDirectoryIntegrated after the authentication library (mssql-auth.dll) was unloaded. The driver now keeps the library loaded after it first initializes.
Fixed security issues in the processing of server responses. Improved the validation of data that the driver receives from the server.

Installer type: wix

x64—C1D5BD79C316588FB08C852ACF76628AB662426E763B68AEF4CFA25FA1DD7BEB
x64—42414F01C094C91F92F228EA0A0AACA2CE6CFBDE3E1A014A3347EDB6307B9B15
x64—B300A2735E306ADB3E6606E4D210B22CB36400E9F431F8463E49CA089A70F464
x64—21DA66985914FF35F5EAA8E6C033F42E6AAA4E005660640EF64A8B5414F6478D
x64—3FE0CFF4D6C4EA56829A7578D4C9B7F1106CF9DE8F8BDF0A04C5AD0D5FB679B2
x64—AEB50937D45A0D22EB6B200F95CFB9B1F28D72502CCF4B2B4FBF0703E64D191D
x64—88436905E3A322796BE128165D53F15A46F30F91ED61AB0326E012C950DF0C50
x64—BA0EE6B88282938B92288D910D51427B0130674B5C517DE9F49537BB41D4ACAA
x64—B13303CE84ABC9908636A712131F5F6419CAB652A572C96F5F9F3C524D264E59
x64—B32A988A9D8A7A8811C34133700F06857A2E4F504161D66968C91033B1F2E4F2
x64—240787AE2C0CBB0594D6773FB5C67D7F4647F757547743B2EE0159712BBFAC6C
x64—2C8148FF5EED61515BD5492D3AD8F3FB93B2F3E20B3504D4CFDCB46B6F8A0235
x64—16CD79446ACBD17AE0404DE35E599EF2A0F0A1E9ABB4041144DF88B570442A3B
x64—1B70F4DDB7F120ABB468A53CDE9226063229D5541BBC38C063F43131686880A6

Details

Homepage
https://learn.microsoft.com/en-us/sql/connect/oledb/oledb-driver-for-sql-server
License
Proprietary
Publisher
Microsoft Corporation
Privacy Policy
https://privacy.microsoft.com/en-us/privacystatement
Copyright
Copyright (c) Microsoft Corporation

Tags

databasedrivermssqlole-dbsql-serversqlserver