- 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.
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: