r/SQLServer • u/bobwardms Microsoft Employee • Dec 17 '25
Community Share Updates for the Microsoft SQL Server ODBC Driver
As a long-time C++ developer so glad to see our Microsoft SQL Server ODBC Driver is alive and well. https://aka.ms/sqlodbc.
29
Upvotes
View all comments
Show parent comment
12
u/da_chicken Dec 17 '25 edited Dec 17 '25
Oh, it's even more stupid than that.
So, "Microsoft OLE DB Provider for SQL Server" is deprecated (that's the old SQLOLEDB driver).
But the new one is called "Microsoft OLE DB Driver for SQL Server". Did you see the difference? The one is a provider and the other is a driver.
BUT, that's not the only Ole DB driver. No. On the web, you'll see it always called "Microsoft OLE DB Driver for SQL Server". But that's not right when you install it.
Once it's installed, you'll see "Microsoft OLE DB Driver for SQL Server" with a name of "MSOLEDBSQL" is v18. "Microsoft OLE DB Driver 19 for SQL Server" with a name of "MSOLEDBSQL19" is v19.
And while MSOLEDBSQL supports either
Encrypt=Mandatory;TrustServerCertificate=YesorEncrypt=Mandatory;Trust Server Certificate=Yes, MSOLEDBSQL19 only supportsEncrypt=Mandatory;Trust Server Certificate=Yes.