Consider the following scenario:

  • You use Microsoft SQL Server 2016 Service Pack 2 Cumulative Update 6.

  • The new OLE DB provider (MSOLEDBSQL) is used.

  • You run a remote ad hoc query by using the OPENDATASOURCE function to connect to remote data from OLE DB data sources.

  • The query contains an error, for example, a reference to non-existing table.

In this scenario, you notice that an incorrect error message is displayed when the query fails.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


This issue is fixed in the following cumulative update for SQL Server:

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!