FIX: Stored procedure output parameters may return incorrectly when called through RPC with PREPARE option in SQL Server 2014

Applies to: SQL Server 2014 DeveloperSQL Server 2014 EnterpriseSQL Server 2014 Enterprise Core

Symptoms


Consider the following scenario:
  • You have an application to call stored procedure (SP) from remote procedure call (RPC) with PREPARE option and this procedure has one or more output parameters.
  • You use Microsoft OLE DB Driver 18 for SQL Server.
  • Your SQL Server instance uses Microsoft SQL Server 2014 32-bit version.
In this scenario, the output parameters of the SP are returned correctly in the first call (by using sp_prepexecrpc). However, subsequent calls (by using sp_execute) of the SP may not return the parameters correctly.

Status


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

Resolution


This issue is fixed in the following cumulative updates for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

References


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