Assume that you have Microsoft SQL Server Analysis Services (SSAS) installed on an instance of SQL Server 2016. If you use the ODBC .NET Provider to connect to and query an Oracle database, SSAS 2016 may incorrectly generate a filtered SQL query. Additionally, you may receive error messages that resemble the following:

ORA-01036: illegal variable name/number.


This fix is included in Cumulative Update 4 for SQL Server 2016 Service Pack 2.

About SQL Server 2016 builds

Each new build for SQL Server 2016 contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for SQL Server 2016.


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


Learn about the terminology Microsoft uses to describe software updates.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. We make no warranty, implied or otherwise, about the performance or reliability of these products.

We provide third-party contact and website information to help you find technical support. This information may change without notice. We do not guarantee the accuracy of this third-party information.

Need more help?

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

Was this information helpful?

What affected your experience?

Thank you for your feedback!